-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
SSL issue / port appended after upgrade to 2.9.14 #1717
Comments
Hello, I'm still able to login into my NPM interface and i can't see any error on my Container Log nor Nginx logs. Thanks for your help |
Have you tried disabling Cloudflare to check whether this only happens in conjunction with cloudflare or with just npm as well? |
We're seeing the same issue and have had to rollback to a previous version. Redirects seem to pick up the internal port |
Same problem is happening here. Had to rollback to 2.9.13. |
Same problem, rollback to 2.9.13 fixes issue. |
Hello, @chaptergy : i have tried to diable Cloudflare Proxying and still the same. As it does not do this issue with most of my apps i have checked if it's related to the App Behind (linuxserver/heimdall). Can somenone tell me what logs or file to check to help solve this issue? |
Hello, Same issue for me... Context: "Classic DNS" > Home router > rPI 4 (Debian Bulleyes up-to-date) > NPM (HTTP/80&443) > Heimdall (HTTP/82 - docker - network conf. bridge). Update on 2.9.14 > Page KO Quick investigation on 2.9.14:
Don't hesitate to mention me if you need more info ! :-) |
Unfortunately I'm currently not able to replicate the issue on my dev instance, but based on the number of thumbs this seems to be a widespread issue. (Btw, very good etiquette of using the reactions instead of commenting without additional useful information, thanks!) One of the things changed with nginx configs is the addition of the @pseudomix @Killator Would one of you guys be able to edit the nginx config manually (located at proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $port; |
I tried rolling back to the 2.9.13 docker image but still broken. Any additional steps I need to take? |
Hi @chaptergy , I checked my host config file but not found any occurrence of the related lines sorry. |
Hi @chaptergy, I confirm, there is no # ------------------------------------------------------------
# mysite.fr
# ------------------------------------------------------------
server {
set $forward_scheme http;
set $server "192.168.168.3";
set $port 82;
listen 80;
#listen [::]:80;
listen 443 ssl http2;
#listen [::]:443;
server_name mysite.fr;
# Let's Encrypt SSL
include conf.d/include/letsencrypt-acme-challenge.conf;
include conf.d/include/ssl-ciphers.conf;
ssl_certificate /etc/letsencrypt/live/npm-20/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/npm-20/privkey.pem;
# Force SSL
include conf.d/include/force-ssl.conf;
access_log /data/logs/proxy-host-25_access.log proxy;
error_log /data/logs/proxy-host-25_error.log warn;
location / {
# Proxy!
include conf.d/include/proxy.conf;
}
# Custom
include /data/nginx/custom/server_proxy[.]conf;
} conf.d/include/proxy.conf > Seem to be inside the container |
I can confirm pseudomix, the mentioned related lines are also not in my config. greets |
Yeah sorry, the directive is only included instead of explicitly generated in the file, so you would have to edit the |
Hi Chaptergy, This did the trick! Removing:
from /etc/nginx/conf.d/include/proxy.conf worked for me. In the meantime i have mount this file outside of the image to don't loose the change in case of recreating the container. Thanks |
Looks like |
I have redirect to port 80 since the last update on Pixelfed |
Sorry for my ignorance as I'm not 100% familiar with nginx reverse proxy, but why would the following be used:
in favour of using the following:
Would we not want to use server_port as it's the original requested port? |
Please try the |
Hello jc21, Problem fixed with this develop version. |
I had problems with the login on Pixelfed- It was always forwarded to port 80. With the developer version it works correctly again |
Working fine ! Thanks a lot ! 👍 |
I can confirm that I am having the same issue with 2.9.14. If I inspect my site (laravel site) then the server port is appended to the end of the url. This was not an issue before and I don't know how to go back to a previous version. I have pulled and used the latest |
On this it did break one of my apps. Invoice Ninja, running in docker swarm. To fix that I changed my internal apache port on that application to 443 and that fixed it, but this thread answers why I was seeing the :80 at the end of the URL. I will add that it fixed a long standing issue I've been having with an AVideo site. When going from the main site, to the encoder site, it would delay sometimes up to 2 minutes. The usernames/credentials get passed in that transition, these additions fixed that transition. I can add these headers onto specific proxy hosts through the custom config in the UI? Is that right? And if anyone has any follow up information to @atbakken 's comment concerning the different way to implement a similar header that might shed some light on this for my use case. This would be great to have by default as it does seem to be an improvement. And thanks for this project! I'm using it extensively for 100+ websites/applications in front of a multiple node docker swarm configuration. Sincerely, Jared |
Hello jc21, It's not been fixed yet, the docker-compose.yml is as follows:
|
image: 'jc21/nginx-proxy-manager:github-develop' dit the trick for me. |
Hello incredible NPM Team !
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
After the update to 2.9.14 some proxy hosts are not working any more.
It seems that NPM doesn't do correctly the reverse proxy as i see in the browser address that he tries to access the internal port.
Reverting to the previous release fix the issue.
Nginx Proxy Manager Version
2.9.14
To Reproduce
Steps to reproduce the behavior:
Browser reports bad SSL (SSL_ERROR_RX_RECORD_TOO_LONG) or in the best case the page appears but without any CSS Style
FYI: My NPM is behind Cloudflare DNS
Expected behavior
Site should appear correctly like before
Operating System
Docker Image on Debian 11.2
Reverting to 2.9.13 solves the issue. I'm not an expert with nginx.
Tried to recreate a simple Proxy-Host from scratch but same issue.
Hope this will help someone.
Thanks in advance for your help
The text was updated successfully, but these errors were encountered: