Initial commit

This commit is contained in:
2026-06-07 02:32:28 +03:00
commit 2e645694e4
86 changed files with 10490 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
server {
listen 80;
server_name _;
client_max_body_size 10m;
# Keep a simple health endpoint available through the reverse proxy.
location = /health {
proxy_pass http://backend:8000/health;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-ID $request_id;
}
location /api/ {
proxy_pass http://backend:8000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-ID $request_id;
}
location / {
proxy_pass http://frontend:80;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Request-ID $request_id;
}
}