Amend CORS and NGINX

This commit is contained in:
2025-07-15 17:33:39 +02:00
parent 8c9d38de35
commit fc95c3fdfd
7 changed files with 46 additions and 46 deletions

View File

@@ -26,7 +26,7 @@ http {
}
upstream backend {
server localhost:8080;
server ${API_BASE_URL}:8080;
}
server {
@@ -54,9 +54,9 @@ http {
access_log off;
}
location /api/ {
location ^~ /api/ {
# Proxy to Quarkus
proxy_pass http://backend/;
proxy_pass http://backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;