mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1296] 502 Bad Gateway #1041
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#1041
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 @jpombas on GitHub (Aug 7, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1296
Hi,
I apologize for opening an issue, but I thought it was the best way to report the following problem:
I followed the steps for a quick setup, but apparently it wasn't successful, could you helpme to understand what's wrong?
Thanks for your help ;)
@jc21 commented on GitHub (Aug 8, 2021):
perhaps the nginx instance doesn't know what
hassiois in the dns. Try curling it directly from within the running container:you may have to use an ip address if the dns server on your network doesn't have an entry for
hassio@jpombas commented on GitHub (Aug 8, 2021):
Trying curl hassio:
Using local IP address, i got que following results:
I also added the following configuration in Hassio:
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
@phantomski77 commented on GitHub (Aug 10, 2021):
Try NPM’s container IP address for your
trusted_proxiessetting inhttpintegration, instead of localhost. Localhost within your Home Assistant instance is just the container’s own localhost, not host’s localhost, if it makes sense. It needs immediate upstream reverse proxy IP, which would be your NPM container IP.@jpombas commented on GitHub (Aug 10, 2021):
Problem solved, thank you guys.
Sorry, but It was my lack of experience 😉