Skip to content

Commit 6b3701d

Browse files
committed
Fix resolving assets with index.php
1 parent 1c8d5de commit 6b3701d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/nginx.conf

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ http {
6767
}
6868

6969
location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
70-
expires 5d;
70+
expires 5d;
71+
try_files $uri $uri/ /index.php?$query_string;
7172
}
7273

7374
# Deny access to . files, for security

0 commit comments

Comments
 (0)