Skip to content

Commit

Permalink
Fixes yiisoft#9735: minor corrections in nginx config example
Browse files Browse the repository at this point in the history
(cherry picked from commit 26a18aa)
samdark committed Apr 30, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 752d537 commit 325e416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/start-installation.md
Original file line number Diff line number Diff line change
@@ -208,7 +208,7 @@ server {
location / {
# Redirect everything that isn't a real file to index.php
try_files $uri $uri/ /index.php?$args;
try_files $uri $uri/ /index.php$is_args$args;
}
# uncomment to avoid processing of calls to non-existing static files by Yii
@@ -219,7 +219,7 @@ server {
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
#fastcgi_pass unix:/var/run/php5-fpm.sock;
try_files $uri =404;

0 comments on commit 325e416

Please sign in to comment.