From 5c6df0be0d6110668bbac70f2ff112e1d6999018 Mon Sep 17 00:00:00 2001 From: 0x00000000 Date: Sat, 14 Jun 2025 22:32:48 +0200 Subject: [PATCH] allo la config --- srcs/requirements/nginx/conf/nginx.conf | 34 ++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/srcs/requirements/nginx/conf/nginx.conf b/srcs/requirements/nginx/conf/nginx.conf index df75d49..64f1665 100644 --- a/srcs/requirements/nginx/conf/nginx.conf +++ b/srcs/requirements/nginx/conf/nginx.conf @@ -1,22 +1,22 @@ server { - #SSL/TLS Configuration - listen 443 ssl; - ssl_protocols TLSv1.2 TLSv1.3; - ssl_certificate /etc/nginx/ssl/inception.crt; - ssl_certificate_key /etc/nginx/ssl/inception.key; + #SSL/TLS Configuration + listen 443 ssl; + ssl_protocols TLSv1.2 TLSv1.3; + ssl_certificate /etc/nginx/ssl/inception.crt; + ssl_certificate_key /etc/nginx/ssl/inception.key; - #root and index and server_name - root /var/www/html; - server_name yantoine.42.fr; - index index.php index.html index.htm; + #root and index and server_name + root /var/www/html; + server_name yantoine.42.fr; + index index.php index.html index.htm; - location / { - try_files $uri $uri/ =404; - } + location / { + try_files $uri $uri/ =404; + } - # Pour toutes les requetes php - location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_pass php:9000; - } + # Pour toutes les requetes php + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass php:9000; + } } \ No newline at end of file