diff --git a/docker/nginx-https.conf b/docker/nginx-https.conf index 4e92a0e2..c2f90f35 100644 --- a/docker/nginx-https.conf +++ b/docker/nginx-https.conf @@ -41,6 +41,13 @@ http { index index.html index.htm; } + # Handle missing source map files gracefully + location ~* \.map$ { + return 404; + access_log off; + log_not_found off; + } + location ~ ^/users(/.*)?$ { proxy_pass http://127.0.0.1:30001; proxy_http_version 1.1; diff --git a/docker/nginx.conf b/docker/nginx.conf index 3c544d3d..b78418b7 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -29,6 +29,13 @@ http { index index.html index.htm; } + # Handle missing source map files gracefully + location ~* \.map$ { + return 404; + access_log off; + log_not_found off; + } + location ~ ^/users(/.*)?$ { proxy_pass http://127.0.0.1:30001; proxy_http_version 1.1;