Files
ContainerOrchestrator/srcs/requirements/nginx/conf/default.conf
T
2025-07-08 00:43:38 +00:00

23 lines
496 B
Plaintext

server {
listen 443 ssl http2;
server_name yantoine.42.fr;
ssl_certificate /etc/ssl/certs/server.pem;
ssl_certificate_key /etc/ssl/private/tls.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
root /var/www/html;
index index.php index.html;
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass wordpress:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
}