「🏗️」 wip: everything should be fixed
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user