Skip to content

Commit

Permalink
Fix resolving assets with index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddehs committed Oct 4, 2022
1 parent 1c8d5de commit 6b3701d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ http {
}

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

# Deny access to . files, for security
Expand Down

0 comments on commit 6b3701d

Please sign in to comment.