diff --git a/Sources/config/nginx.conf b/Sources/config/nginx.conf index 92f292cc..965bdc11 100755 --- a/Sources/config/nginx.conf +++ b/Sources/config/nginx.conf @@ -1,7 +1,7 @@ server { listen 80; - index index.php; - root /var/www/public; + index index.php index.html index.htm; + root /usr/share/nginx/html; error_page 404 /index.php; @@ -10,12 +10,10 @@ server { fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; - } - - + } location / { - root /var/www/public; + root /usr/share/nginx/html; try_files $uri /index.php; } } \ No newline at end of file