diff --git a/puppet/zulip/files/nginx/zulip-include-frontend/uploads-internal.conf b/puppet/zulip/files/nginx/zulip-include-frontend/uploads-internal.conf index 6166654468..5e56963894 100644 --- a/puppet/zulip/files/nginx/zulip-include-frontend/uploads-internal.conf +++ b/puppet/zulip/files/nginx/zulip-include-frontend/uploads-internal.conf @@ -40,7 +40,7 @@ location ~ ^/internal/s3/([^/]+)/(.*) { # Internal file-serving location /internal/local/uploads { internal; - include /etc/nginx/zulip-include/api_headers; + include /etc/nginx/zulip-include/headers; add_header Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self'; object-src 'self'; plugin-types application/pdf;"; include /etc/nginx/zulip-include/uploads.types; alias /home/zulip/uploads/files;