1
0

」 feat: Should be working

This commit is contained in:
2025-01-17 16:49:53 +01:00
parent 89e5921175
commit 9a8f33f0b4
15 changed files with 272 additions and 79 deletions

View File

@ -0,0 +1,26 @@
server {
listen 443 ssl;
server_name adjoly.42.fr www.adjoly.42.fr;
root /var/www/html/;
index index.php;
ssl_certificate $NGINX_SSL_CERT_FILE;
ssl_certificate_key $NGINX_SSL_KEY_FILE;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_session_timeout 10m;
keepalive_timeout 60;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass $NGINX_PHP_HOST:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
}
}