1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 15:11:40 +02:00

Add index to nginx config

No index set for example nginx config - without this, user will get
403 Forbidden error on browsing to site.
This commit is contained in:
Mohammad Noor 2017-01-30 16:18:13 +00:00 committed by GitHub
parent ee48d0346b
commit f8c335262b

View File

@ -122,6 +122,7 @@ server {
location / {
try_files $uri $uri/ /index.php$is_args$args;
# rewrite ^/([a-zA-Z0-9]+)/?$ /index.php?$1;
index index.php;
}
location ~ \.php$ {