Trying to sort out why '/' results in a 403

This commit is contained in:
Jonny Barnes 2017-02-23 17:33:51 +00:00
parent d44164be1d
commit 77636e8602

View file

@ -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;
}
}