diff --git a/nginx/templates/local-nginx.conf.template b/nginx/templates/local-nginx.conf.template index ba0a8511ad..a6122d34be 100644 --- a/nginx/templates/local-nginx.conf.template +++ b/nginx/templates/local-nginx.conf.template @@ -18,6 +18,10 @@ http { proxy_set_header Upgrade ${D}http_upgrade; proxy_set_header Connection "upgrade"; + location /api/ { + rewrite ^/api(/.*)$ $1 last; + } + location /auth { proxy_pass ${USER_SERVICE_URL}; }