1
0

🏗️」 wip: everything should be fixed

This commit is contained in:
2025-01-18 16:38:11 +01:00
parent 9a8f33f0b4
commit fbdfcef494
4 changed files with 9 additions and 10 deletions

View File

@ -3,7 +3,7 @@ server {
server_name adjoly.42.fr www.adjoly.42.fr;
root /var/www/html/;
root /var/www/html;
index index.php;
ssl_certificate $NGINX_SSL_CERT_FILE;
@ -14,13 +14,13 @@ server {
keepalive_timeout 60;
location / {
try_files $uri $uri/ =404;
try_files $${q}uri $${q}uri/ =404;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass $NGINX_PHP_HOST:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi.conf;
}
}