I don't think there are any undocumented certbot settings for that. Here are two threads with comments by a certbot dev for different options to set the variable. I thought the systemd method was clever although is only works with scheduled tasks.
MikeMcQ
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Running certbot behind proxy | 2 | 1981 | June 15, 2021 | |
| Configuring Certbot to connect via proxy | 8 | 4846 | January 31, 2022 | |
| Proxy_http not recorded in the conf | 4 | 1605 | May 4, 2017 | |
| Certbot cron renewal not working with proxy | 6 | 2257 | September 17, 2019 | |
| SOLVED: Correct way to configure for a proxy? | 0 | 1052 | September 19, 2023 |