fuxking work pls

This commit is contained in:
2026-08-22 20:58:27 +02:00
parent 2cd7abb403
commit 2b4d07785a
5 changed files with 72 additions and 29 deletions
+29
View File
@@ -0,0 +1,29 @@
server {
listen 80;
location /api/ {
proxy_pass http://sndit-api:8080/api/;
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 /swagger/ {
proxy_pass http://sndit-api:8080/swagger/;
proxy_set_header Host $host;
}
location /health {
proxy_pass http://sndit-api:8080/health;
proxy_set_header Host $host;
}
location / {
proxy_pass http://sndit-frontend:80/;
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;
}
}