Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ssx authored May 4, 2017
1 parent cf4a288 commit ed7d079
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .docker/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ server {
access_log /var/log/nginx/access.log;
root /www/public;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
Expand Down

0 comments on commit ed7d079

Please sign in to comment.