We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default proxy.conf file is missing the X-Forwarded-Host header
nginx-proxy-manager/docker/rootfs/etc/nginx/conf.d/include/proxy.conf
Lines 1 to 7 in 67208e4
add_header X-Served-By $host; proxy_set_header Host $host; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_pass $forward_scheme://$server:$port$request_uri;
This should be added to the above config: proxy_set_header X-Forwarded-Host $http_host;
This breaks code-server currently when using the default NGinx Proxy Manager settings https://github.com/coder/code-server
The text was updated successfully, but these errors were encountered:
Potential fix for NginxProxyManager#2804
4d9c0c9
X-Forwarded-Port
Sorry, something went wrong.
Issue is now considered stale. If you want to keep it open, please comment 👍
No branches or pull requests
The default proxy.conf file is missing the X-Forwarded-Host header
nginx-proxy-manager/docker/rootfs/etc/nginx/conf.d/include/proxy.conf
Lines 1 to 7 in 67208e4
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass $forward_scheme://$server:$port$request_uri;
This should be added to the above config:
proxy_set_header X-Forwarded-Host $http_host;
This breaks code-server currently when using the default NGinx Proxy Manager settings
https://github.com/coder/code-server
The text was updated successfully, but these errors were encountered: