mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 01:15:51 +03:00
[GH-ISSUE #5261] Proxy error 500 #3149
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#3149
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 @Someone275 on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5261
so i'm trying to setup nginx proxy
i have several setup that are working only http no https
i have one aws2.domain.net point ip 192.xx.xx.215:80 this one work
tried one aws.domain.net point to ip 192.xx.xx.215:80 this one throws
500 Internal Server Error
nginx/1.18.0
if i edit the rule and change aws to aws2 then the rule works
if i use any other domain in the rule that works it only fails when i use aws.domain.net as that domain
i'm can't figure it out
@Positivelight775 commented on GitHub (Feb 1, 2026):
If aws2.domain.net is resolving but aws.domain.net is throwing a 500 error
on the same IP/Port, you likely have a Namespace Collision or a Stale
Config Header stuck in the database.
Try these specific steps to clear the "Ghost" in the config:
to aws, Nginx can enter a recursive loop when trying to resolve the
proxy_pass.
• Fix: In the Advanced tab of your Proxy Host, manually set the proxy_pass
to the Local IP instead of the hostname:
Exec into your NPM container and run a syntax check. This will often point
to a specific line in a generated .conf file that is broken.
• Command: docker exec -it <container_id> nginx -t
• Look for any "duplicate server name" or "could not build
server_names_hash" warnings.
If aws.domain.net was used previously with a different certificate or HSTS
setting, NPM might be trying to force a handshake that no longer exists.
• Action: Delete the Proxy Host entirely. Go to SSL Certificates and delete
any certs specifically assigned to that sub-domain. Re-create the host from
scratch without SSL first to see if it loads, then re-enable the Let's
Encrypt cert.
Sometimes the NPM database (SQLite/MariaDB) creates a duplicate entry for
the domain string if a previous save failed. If you're comfortable with the
DB, check the proxy_host table for duplicate domain_names entries.
On Sat, Jan 31, 2026 at 9:50 PM Someone275 @.***> wrote:
@Positivelight775 commented on GitHub (Feb 1, 2026):
{
"Action": "Peer_Tech_Support",
"Focus": "Nginx_Namespace_Collision",
"Error_Code": "500_Internal_Server_Error",
"Resolution_Path": ["Direct_IP_Proxy_Pass", "Nginx_Syntax_Test",
"DB_Entry_Purge"],
"Status": "RESPONSE_STAGED"
}
On Sat, Jan 31, 2026 at 9:53 PM D. E. Davis @.***>
wrote:
@Someone275 commented on GitHub (Feb 2, 2026):
so my internal server name is Linux aws-storage-server so that shouldn't be the problem
this i can't find
Fix: In the Advanced tab of your Proxy Host, manually set the proxy_pass
to the Local IP instead of the hostname:
i'm using the ip for the proxy name
so i logged into then went to host - proxy host
click edit on the rule
across the top i have detail, custom locations, SSL
there is no advanced tab
2
came back clean to errors
3
there are no SSL certs i have also delete the rule and recreated the rule
4
not sure how to do this one