Trying to sort out why '/' results in a 403
This commit is contained in:
parent
d44164be1d
commit
77636e8602
1 changed files with 5 additions and 5 deletions
|
@ -7,13 +7,13 @@ server {
|
|||
access_log /tmp/access.log;
|
||||
error_log /tmp/error.log;
|
||||
|
||||
location ~* "\.php(/|$)" {
|
||||
include fastcgi.conf;
|
||||
fastcgi_pass php;
|
||||
}
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then as directory, then fall back to index.php.
|
||||
try_files $uri $uri/ /index.php$is_args$args;
|
||||
}
|
||||
|
||||
location ~* "\.php(/|$)" {
|
||||
include fastcgi.conf;
|
||||
fastcgi_pass php;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue