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:
parent
892a2d1b61
commit
357305507c
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ For nginx, use a configuration like this:
|
|||
}
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
location /index.php {
|
||||
fastcgi_pass localhost:9000;
|
||||
fastcgi_index index.php;
|
||||
|
||||
|
|
Loading…
Reference in a new issue