chore: update Nginx proxy configuration to use variable resolution and bind start script to all interfaces

This commit is contained in:
2026-07-25 23:13:04 +07:00 Unverified
parent 80aa49c39c
commit d770d07e59
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -29,16 +29,13 @@ http {
log_format clean ' $request_method $uri $status';
access_log /var/log/nginx/access.log clean if=$loggable;
upstream backend {
server app:3000;
}
server {
listen 80;
resolver 127.0.0.11 valid=5s ipv6=off;
set $backend http://app:3000;
location / {
proxy_pass http://backend;
proxy_pass $backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;