sync: migrate sales-call-center deployment config to Gitea (2026-08-10)

This commit is contained in:
konturai-ops
2026-08-10 15:27:44 +00:00
commit 43d8f58c61
3 changed files with 456 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
resolver 127.0.0.11 valid=30s ipv6=off;
resolver_timeout 5s;
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
client_max_body_size 50m;
location = /health {
set $api_gateway http://sales-call-center-app:8000;
proxy_pass $api_gateway/health;
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 /proxy/ {
set $api_gateway http://sales-call-center-app:8000;
proxy_pass $api_gateway;
proxy_http_version 1.1;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
proxy_connect_timeout 60s;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host;
proxy_set_header Origin $http_origin;
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;
}
}