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
-18
View File
@@ -2,24 +2,6 @@ server {
listen 80;
root /usr/share/nginx/html;
location /api/ {
proxy_pass http://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://api:8080/swagger/;
proxy_set_header Host $host;
}
location /health {
proxy_pass http://api:8080/health;
proxy_set_header Host $host;
}
location / {
try_files $uri /index.html;
}