We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2c051 commit 9661451Copy full SHA for 9661451
.docker/nginx.conf
@@ -102,7 +102,7 @@ server {
102
103
# Assets
104
# Still use a whitelist approach to prevent each and every missing asset to go through the PHP Engine.
105
- location ~* ^(?!/admin|/asset/webdav)(.+?)\.((?:css|js)(?:\.map)?|jpe?g|gif|png|svgz?|eps|exe|gz|zip|mp\d|m4a|ogg|ogv|webp|webm|pdf|docx?|xlsx?|pptx?)$ {
+ location ~* ^(?!/admin|/asset/webdav|/studio/api)(.+?)\.((?:css|js)(?:\.map)?|jpe?g|gif|png|svgz?|eps|exe|gz|json|zip|mp\d|m4a|ogg|ogv|webp|webm|pdf|csv|docx?|xlsx?|pptx?)$ {
106
try_files /var/assets$uri $uri =404;
107
expires 2w;
108
access_log off;
0 commit comments