mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #2258] LetsEncrypt Fails When Force SSL is On #1607
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MeCJay12 on GitHub (Sep 9, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2258
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Running NPM behind an Nginx reverse proxy on port 80 (not 443). This is so that Nginx can dynamically redirect LetsEncrypt challenges to any domain rather than having to enter every domain.sub-domain into HAProxy on my router. When behind Nginx, NPM is upgrading LetsEncrypt challenges to HTTPS when the Force SSL switch is on. When switch is off, LetsEncrypt works correctly.
Nginx Proxy Manager Version
v2.9.18
To Reproduce
NPM:
For questions about the resolvers mount see here.
No config in Custom Locations or Advanced; Most importantly, Force SSL is on:
Nginx proxy in front of NPM:
Where the conf file mounted is:
Otherwise, pot 80 on my firewall is forwarded to port 82 on my docker host. The ideal flow is ext_ip:80 -> docker:82 -> Nginx container -> NPM which is working but when I pcap my bridge network while running a LetsEncrypt renewal (dry-run) I see the LE challenges being upgraded to HTTPS and the client is reporting a timeout:
Expected behavior
LetsEncrypt should be able to renew certs behind another Nginx proxy.
Operating System
Ubuntu 20
@Schlumpf9 commented on GitHub (Sep 9, 2022):
push, btw duplicate https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1625
@MeCJay12 commented on GitHub (Sep 9, 2022):
Whoops