index.php no longer used

This commit is contained in:
WilliamMiceli
2019-11-21 18:39:11 -05:00
parent 69c610fe15
commit 41217d3746

View File

@@ -3,14 +3,14 @@ server {
listen [::]:80; listen [::]:80;
root /var/www/; root /var/www/;
index index.html index.php; index index.html
server_name _; server_name _;
access_log /var/log/nginx/access.log; access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log;
location / { location / {
try_files $uri $uri/ /index.php /index.html =404; try_files $uri $uri/ /index.html =404;
} }
location ~ \.php$ { location ~ \.php$ {