Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nginx.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ location /media/ {
# image_filter_jpeg_quality 90;
# }

try_files $uri $uri/ /get.php$is_args$args;
# try_files $uri $uri/ /get.php$is_args$args;

location ~ ^/media/theme_customization/.*\.xml {
deny all;
Expand Down
2 changes: 1 addition & 1 deletion pub/media/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ SetHandler default-handler
############################################
## rewrite everything else to get.php

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]
</IfModule>

############################################
Expand Down