Fix db external port

This commit is contained in:
mahmood
2026-09-09 23:31:31 +03:30
parent 03119cd655
commit d65c67e440
3 changed files with 14 additions and 2 deletions
+9
View File
@@ -5,6 +5,15 @@ server {
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://api:3000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
try_files $uri $uri/ /index.html;
}