diff --git a/conf/nginx.conf b/conf/nginx.conf index 9495bc6..6675b12 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -161,14 +161,6 @@ location ~ ^/(blob|block)/.*$ { proxy_hide_header 'Cross-Origin-Resource-Policy'; proxy_hide_header 'Cross-Origin-Embedder-Policy'; proxy_pass http://127.0.0.1:__PORT__; - - #more_set_headers "X-Content-Type-Options: nosniff"; - #more_set_headers "Cache-Control: max-age=31536000'"; - #more_set_headers "Access-Control-Allow-Origin: ${allowed_origins}"; - #more_set_headers "Access-Control-Allow-Methods: 'GET, POST, OPTIONS'"; - #more_set_headers "Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Content-Length"; - #more_set_headers "Access-Control-Expose-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Content-Length"; - #try_files $uri =404; } # The nodejs server has some built-in forwarding rules to prevent