Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

handle .php files directly

  • Loading branch information...
commit 48fe7c612035ed988f997822b7c9a9bd1fc176eb 1 parent ac5422d
@shish authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  shimtest.nginx.conf
View
2  shimtest.nginx.conf
@@ -17,7 +17,7 @@ server {
rewrite "^/(2...)/_images/([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{28}).*$" /$1/images/$2/$3/$2$3$4 break;
rewrite "^/(2...)/_thumbs/([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{28}).*$" /$1/thumbs/$2/$3/$2$3$4 break;
- rewrite "^/(2...)/(.*)\.(css|js|gif|png|jpg|ico|html|manifest|appcache|txt|jar)$" /$1/$2.$3 break;
+ rewrite "^/(2...)/(.*)\.(php|css|js|gif|png|jpg|ico|html|manifest|appcache|txt|jar)$" /$1/$2.$3 break;
rewrite "^/(2...)/(.*)\?(.*)$" /$1/index.php?q=$2&$3 last;
rewrite "^/(2...)/(.*)$" /$1/index.php?q=$2 last;
Please sign in to comment.
Something went wrong with that request. Please try again.