Nginx config - add an index in case they don't have a http block
This commit is contained in:
parent
9992b1ffe6
commit
047967da99
@ -9,6 +9,7 @@ ssl_certificate /path/to/ssl.crt;
|
|||||||
ssl_certificate_key /path/to/ssl.key;
|
ssl_certificate_key /path/to/ssl.key;
|
||||||
|
|
||||||
root /var/www/example.com;
|
root /var/www/example.com;
|
||||||
|
index index.php;
|
||||||
access_log /var/log/nginx/example.com.log;
|
access_log /var/log/nginx/example.com.log;
|
||||||
include standard.conf;
|
include standard.conf;
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
|
Reference in New Issue
Block a user