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 fe72c40 commit de05aecCopy full SHA for de05aec
nginx.conf.sample
@@ -164,7 +164,7 @@ location /media/ {
164
# image_filter_jpeg_quality 90;
165
# }
166
167
- try_files $uri $uri/ /get.php$is_args$args;
+ # try_files $uri $uri/ /get.php$is_args$args;
168
169
location ~ ^/media/theme_customization/.*\.xml {
170
deny all;
pub/media/.htaccess
@@ -33,7 +33,7 @@ SetHandler default-handler
33
############################################
34
## rewrite everything else to get.php
35
36
- RewriteRule .* ../get.php [L]
+ RewriteRule .*.(ico|jpg|jpeg|png|gif|svg|svgz|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2|zip|gz|gzip|bz2|csv|xml)$ ../get.php [L]
37
</IfModule>
38
39
0 commit comments