mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #2588] Nginx Proxy Manager is redirecting an HTTP URL to HTTPS #1803
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#1803
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 @RobertBrown3 on GitHub (Feb 4, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2588
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
I have set up an HTTP proxy host on the Nginx Proxy Manager. There are no HTTPS redirects defined for this URL. In fact, there is no redirection defined in the redirect_host directory (in fact, that directory is empty).
No erros are generated when attempting to access the URL. In fact the error log for this URL (proxy-host-1_failure.log) remains empty.
Nevertheless, when attempting to access the URL using http, the proxy manager appears to redirect my request to https. I simply cannot access my page.
Nginx Proxy Manager Version
V2.9.19
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The web page at temp.soliannet.net should come up
Screenshots
None.
Operating System
Almalinux V8.6
@Arkensor commented on GitHub (Feb 7, 2023):
Are you using a .dev .app or .page tld by any chance? We just had an issue where the tld is on a HSTS force list so any request made must be served via https. So the only way to access the NPM is through the direct IP
@RobertBrown3 commented on GitHub (Feb 8, 2023):
Arkensor:
No, I am not using a .dev .app or any kind of tld. The target is a Java- based executable JAR that is running from within another Docker container.
I actually have both the proxy and the Java application running in two places: the first place is a DigitalOcean test droplet running Docker on Almalinux 8, and the second place is a machine running Docker on Almalinux 8 in my private cloud. The installation on DigitalOcean is running without redirect problems. The one on my private cloud is doing the redirects.
I am using the same version of Docker on both systems. Everything on both systems is the same except the name of the actual VM.
There is something in the configuration of my proxy on my cloud that is causing it to do the redirect. I do not know what it is, though. I actually removed the Nginx Proxy Manager's data and the image, and reinstalled it through docker-compose. The redirect continues. I even removed the volume I had for persistence, removed the data and image, reinstalled the image, and set up my proxy to my target application from scratch. The redirects continue!
I am certain that there is either some unknown volume within the container or some unknown configuration on my machine that the Nginx Proxy Manager uses in order to "decide" to forward to HTTPS. I just cannot figure out what is causing the redirect! All I know for sure is that something is causing the redirect -- some bug in the Manager.
@Arkensor commented on GitHub (Feb 13, 2023):
@RobertBrown3 so I assume you are accessing the web interface from an IP directly? If so indeed none of the secure space tld stuff would affect it.
@github-actions[bot] commented on GitHub (Jan 28, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Mar 14, 2025):
Issue was closed due to inactivity.