This commit is contained in:
H3XploR
2025-07-08 01:08:28 +02:00
parent 2117ce50f4
commit 40328d2980
30 changed files with 246 additions and 213 deletions
+8 -7
View File
@@ -1,11 +1,11 @@
server {
listen 443 ssl;
server_name yantoine.42.fr;
listen 443 ssl http2;
server_name __DOMAIN_NAME__;
ssl_certificate /etc/ssl/private/yantoine.42.fr.crt;
ssl_certificate_key /etc/ssl/private/yantoine.42.fr.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_certificate /etc/ssl/certs/server.crt;
ssl_certificate_key /etc/ssl/private/server.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
root /var/www/html;
index index.php index.html;
@@ -15,8 +15,9 @@ server {
}
location ~ \.php$ {
fastcgi_pass wordpress:9000;
include fastcgi_params;
fastcgi_pass wordpress:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}