diff --git a/docs/guide/start-installation.md b/docs/guide/start-installation.md index 1b09eeb3df7..d6c7359f6c9 100644 --- a/docs/guide/start-installation.md +++ b/docs/guide/start-installation.md @@ -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;