diff --git a/src/frontend/nginx.conf b/src/frontend/nginx.conf index d069a206d..cabf31c7a 100644 --- a/src/frontend/nginx.conf +++ b/src/frontend/nginx.conf @@ -15,21 +15,6 @@ server { try_files $uri $uri/ /index.html =404; } - location ~ ^/api/v1/ { # Matching the /api/v1/ route - proxy_pass __BACKEND_URL__; # URL of your backend service - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection 'upgrade'; - proxy_set_header Host $host; - proxy_cache_bypass $http_upgrade; - } - location /health { # Matching the /health route - proxy_pass __BACKEND_URL__; # URL of your backend service - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection 'upgrade'; - proxy_set_header Host $host; - proxy_cache_bypass $http_upgrade; - } + include /etc/nginx/extra-conf.d/*.conf; }