[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49205: Closing Bug#49205: Usually caused by misconfigurations of Ngi
From: |
Felix Lechner |
Subject: |
bug#49205: Closing Bug#49205: Usually caused by misconfigurations of Nginx |
Date: |
Fri, 30 Jun 2023 19:38:18 -0700 |
Hi,
I have also seen this error several times. In my experience, it is
almost always caused by a misconfiguration of Nginx.
On my equipment, there is an exception to that rule when Nginx serves
outside connections as a reverse proxy to the local network, i.e.
something like: [1]
(body (list
"proxy_pass http://lechner-desktop.us-core.com:3011;"
"proxy_set_header Host $host;"
"proxy_set_header X-Real-IP $remote_addr;"
"proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;"))
but that's somewhat exotic. It triggers a "host not found" in the logs.
My particular failure may have to do with the service ordering in
Shepherd, although I have not been able to fix it. For example, the
default prerequisites for Nginx do not even include 'networking. [2]
Either way, Nginx is configured to respawn, so my bug is probably
elsewhere.
Closing this issue.
Kind regards
Felix
[1]
https://codeberg.org/lechner/system-config/src/commit/fca07b73068b043d57930266a2102af05b0b0aa9/host/wallace-server/operating-system.scm#L892-L895
[2]
https://codeberg.org/lechner/guix/src/commit/f25529b08e356f89ca7cecc44295085531a8faba/gnu/services/web.scm#L567
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#49205: Closing Bug#49205: Usually caused by misconfigurations of Nginx,
Felix Lechner <=