update de fou

This commit is contained in:
Adrien Audebert
2024-09-17 18:20:33 +02:00
parent 9fe444c65d
commit c9ca99605d
9 changed files with 36 additions and 49 deletions

View File

@@ -25,4 +25,4 @@ output {
index => "django-logs-%{+YYYY.MM.dd}"
}
stdout { codec => rubydebug }
}
}

View File

@@ -1,16 +1,16 @@
server {
listen 80;
server_name localhost;
server_name localhost ft-transcendence.com www.ft-transcendence.com;
# Redirect HTTP to HTTPS
location / {
return 301 https://localhost:1443$request_uri;
return 301 https://www.ft-transcendence.com:1443$request_uri;
}
}
server {
listen 443 ssl;
server_name localhost;
server_name localhost ft-transcendence.com www.ft-transcendence.com;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/private.key;

View File

@@ -19,6 +19,6 @@ extendedKeyUsage = serverAuth
[alt_names]
DNS.1 = localhost
DNS.2 = www.ft_transcendence.com
DNS.3 = ft_transcendence.com
DNS.2 = www.ft-transcendence.com
DNS.3 = ft-transcendence.com
IP.1 = 127.0.0.1