mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #4315] Unconventional ports, redirection lost port problem!!! #2774
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#2774
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 @lizheyo77 on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4315
if (-d $request_filename) {
rewrite [^/]$ $scheme://$http_host$uri/ permanent;
}
How to add to Nginx Proxy Manager
My website is https://www.ao1xxx.com:5421, and there is a webpage below it is https://www.ao1xxx.com:5421/logs/. If I visit https://www.ao1xxx.com:5421/logs, it will be directly inaccessible, and then the website will become www.ao1xxx.com/logs/, my 5421 port will be lost, resulting in access failure. Please help me
npm version v2.12.2
@edsonsbj commented on GitHub (Feb 12, 2025):
Friend, I racked my brains over this for a long time until I found it on a forum, I don't know where else, all you need to do is edit your proxy host in the custom locations tab, you leave it like the image below.
proxy_set_header X-Forwarded-Host $http_host;
proxy_cookie_path / "/; Secure";
@github-actions[bot] commented on GitHub (Aug 25, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍