deploy: add direct SSH deployment setup (nginx host + docker compose ports)

This commit is contained in:
Admin
2026-05-27 11:40:01 +05:00
parent 165ed30cb3
commit 4a4ddf5ac4
4 changed files with 89 additions and 13 deletions
-9
View File
@@ -7,13 +7,4 @@ server {
location / {
try_files $uri $uri/ /index.html;
}
location /api/ {
proxy_pass http://backend:3001/api/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}