Revert "fix: correct proxy_pass configuration for API requests in nginx"
All checks were successful
Build and Deploy Thoughts / build-and-deploy-local (push) Successful in 6s

This reverts commit 247c6ad955.
This commit is contained in:
2025-09-09 03:53:41 +02:00
parent 247c6ad955
commit 8536e52590

View File

@@ -21,12 +21,14 @@ server {
send_timeout 300s;
location /api/ {
proxy_pass http://backend/;
rewrite /api/(.*) /$1 break;
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;
proxy_pass http://backend;
}
location / {