-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latest
docker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug
When working under the Advanced
tab of Edit Proxy Host
I place the following addition to the config dialogue box
location / {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
}
When this is added my sites redirects me to this screen
I have also tried to use =/
in front of the location directive but none of my changes appear to register. Also tried to add this configuration in the Custom locations
tab but this shuts down the proxy host.
Adding the lines directly to the proxy_host .conf file causes the proxy_host to go offline.
Nginx Proxy Manager Version
2.11.1
Expected behavior
For the headers to be applied to the location directive without redirecting traffic to the openresty page.
Operating System
Debian 12 Bookworm
Additional context
I am trying run danbooru, the SSL certificate is DNS challenged by cloudflare
Docker Engine - Community
Version: 26.0.0
API version: 1.45
Go version: go1.21.8
Git commit: 2ae903e