From b52ba793d3c307317a04959c5d4b181d007e87af Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Wed, 21 Feb 2024 16:24:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/config/ngi?= =?UTF-8?q?nx.conf'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/config/nginx.conf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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