fix: change upstream to internal alias backend to fix nginx crash

This commit is contained in:
2026-09-23 01:39:18 +05:30
parent c6f0feeed9
commit 053b5dac31
+2 -2
View File
@@ -3,13 +3,13 @@ server {
server_name localhost;
location /api/ {
proxy_pass http://hpegebuubw1mirg08rszhqzy:5000;
proxy_pass http://backend:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
location /uploads/ {
proxy_pass http://hpegebuubw1mirg08rszhqzy:5000;
proxy_pass http://backend:5000;
proxy_set_header Host $host;
}