allo la config
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user