The original post: /r/nginx by /u/BigHowski on 2024-11-27 20:23:39.
Hi all,
Forgive the post but I'm a bit stuck and I was looking for a little help with my self-Hosted sites all of which have stopped working as of today. I have the following:
- A windows box with a host of apps (example calibre), some of which are containers in docker
- Nginx acting as a reverse proxy (itself running in a container)
- A ddns account to send to my ip as its not static
- A domain which allows subdomains which forwards to ddns
Up until yesterday this was working like a charm but today for some reason I'm getting a 504 across all of the subdomains I use (however the main domain routes to my ddns, which gives me the ngnix congratulations page). Internally everything is fine if I use localhost or the ip along with the port for the app so I'm guessing maybe something isn't passing the traffic on internally within Nginx?
Looking at the logs I can see the following:
2024/11/27 19:01:51 [error] 202#202: *3411 open() "/var/www/html/xml/info.xml" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /xml/info.xml HTTP/1.1", host: "cpc143398-mfl22-2-0-cust830.13-1.cable.virginm.net"
2024/11/27 19:01:51 [error] 202#202: *3412 open() "/var/www/html/magento_version" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /magento_version HTTP/1.1", host: "cpc143398-mfl22-2-0-cust830.13-1.cable.virginm.net"
2024/11/27 19:01:51 [error] 202#202: *3413 open() "/var/www/html/api/v1/check-version" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /api/v1/check-version HTTP/1.1", host: "cpc143398-mfl22-2-0-cust830.13-1.cable.virginm.net"
2024/11/27 19:30:10 [error] 203#203: *3607 open() "/var/www/html/cgi-bin/luci/;stok=/locale" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /cgi-bin/luci/;stok=/locale HTTP/1.1", host: "86.16.243.63:80"
2024/11/27 19:38:05 [error] 203#203: *3638 open() "/var/www/html/cgi-bin/luci/;stok=/locale" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /cgi-bin/luci/;stok=/locale HTTP/1.1", host: "86.16.243.63:80"
2024/11/27 19:45:54 [error] 203#203: *3684 open() "/var/www/html/cgi-bin/index.html" failed (2: No such file or directory), client: 172.20.0.1, server: localhost-nginx-proxy-manager, request: "GET /cgi-bin/index.html HTTP/1.1", host: "86.16.243.63:80"
But I'm really unsure how to go about troubleshooting. Any idea what I can do to track down the issue and fix? Maybe its permissions issues but I don't think anything has changed. Maybe I update the container the other day but I cannot remember for sure.