fix: nginx listen on 0.0.0.0:8080 for Docker Traefik access
Build & Deploy (Nix) / build-and-deploy (backend) (push) Successful in 3m14s
Build & Deploy (Nix) / build-and-deploy (discord-gateway) (push) Successful in 2m28s
Build & Deploy (Nix) / build-and-deploy (proxy) (push) Successful in 2m38s
Build & Deploy (Nix) / build-and-deploy (backend) (push) Successful in 3m14s
Build & Deploy (Nix) / build-and-deploy (discord-gateway) (push) Successful in 2m28s
Build & Deploy (Nix) / build-and-deploy (proxy) (push) Successful in 2m38s
127.0.0.1 from inside Docker container is the container's own loopback, not host's. Changed to listen 8080 (all interfaces) so Traefik can reach it via host.docker.internal:8080.
This commit is contained in:
@@ -12,7 +12,7 @@ http {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 127.0.0.1:8080;
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
gzip on;
|
||||
|
||||
Reference in New Issue
Block a user