1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 05:50:55 +01:00

Fix nginx configuration guide

Summary: We currently match "any PHP file path", which is wrong, since it will match things like `/diffusion/path/to/some/source/code.php`. Match only "index.php".

Test Plan: This is the config secure.phabricator.com / local / etc run, we just had out of date documentation.

Reviewers: Korvin, vrana, btrahan, jungejason

Reviewed By: jungejason

CC: aran

Maniphest Tasks: T1323

Differential Revision: https://secure.phabricator.com/D2754
This commit is contained in:
epriestley 2012-06-14 15:38:55 -07:00
parent 892a2d1b61
commit 357305507c

View file

@ -145,7 +145,7 @@ For nginx, use a configuration like this:
}
}
location ~ \.php$ {
location /index.php {
fastcgi_pass localhost:9000;
fastcgi_index index.php;