Skip to content

Commit a4b9bdc

Browse files
committed
update code
1 parent c2b2f16 commit a4b9bdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nginx.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ location /media/ {
180180
add_header Cache-Control "no-store";
181181
add_header X-Frame-Options "SAMEORIGIN";
182182
expires off;
183-
try_files $uri $uri/ /get.php$is_args$args;
183+
# try_files $uri $uri/ /get.php$is_args$args;
184184
}
185185
add_header X-Frame-Options "SAMEORIGIN";
186186
}

pub/media/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SetHandler default-handler
3333
############################################
3434
## rewrite everything else to get.php
3535

36-
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]
36+
RewriteRule .*.(ico|jpg|jpeg|png|gif|svg|svgz|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2)$ ../get.php [L]
3737
</IfModule>
3838

3939
############################################

0 commit comments

Comments
 (0)