diff --git a/nginx.conf b/nginx.conf index 69caeaa..3c3b582 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,6 +11,20 @@ server { add_header Cache-Control "no-store"; } + location /notices/ { + proxy_pass http://10.10.10.112:3080/notices/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + + location /monitor/ { + proxy_pass http://10.10.10.105:3002/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } + location = /sw.js { add_header Cache-Control "no-store, no-cache, must-revalidate"; try_files $uri =404;