dev, prod, local environment fixes

This commit is contained in:
2026-10-06 11:21:09 +03:00
parent 4a7ea33185
commit b80fe40852
14 changed files with 202 additions and 42 deletions
+15
View File
@@ -0,0 +1,15 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri /index.html;
}
location /protected/ {
proxy_pass http://${BACKEND_HOST}:${BACKEND_PORT};
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}