Mostly figured out

This commit is contained in:
WilliamMiceli
2019-10-19 17:58:56 -04:00
parent d8cfdbf807
commit afbc8de843
2 changed files with 6 additions and 4 deletions

View File

@@ -3,14 +3,14 @@ server {
listen [::]:80;
root /var/www/;
index index.php index.html;
# server_name _;
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 /index.php;
try_files $uri $uri/ /index.html =404;
}
location ~ \.php$ {