Skip to content

Commit

Permalink
Merge pull request #336 from AmirrezaNasiri/patch-1
Browse files Browse the repository at this point in the history
Use $realpath_root instead of $document_root
  • Loading branch information
akrabat committed Apr 2, 2019
2 parents a6bd913 + 00d22b7 commit 15e59a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v3/start/web-servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ server {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
Expand Down

0 comments on commit 15e59a6

Please sign in to comment.