Going back to .html as default

This commit is contained in:
William Miceli
2019-10-29 10:21:50 -04:00
parent 9ace1df508
commit 3cecfd5ab7
3 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
server {
listen 80;
listen [::]:80;
root /var/www/;
index index.html index.php;
server_name _;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location / {
try_files $uri $uri/ /index.php /index.html =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
}
}