mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 17:37:08 +01:00
update de fou
This commit is contained in:
@@ -25,4 +25,4 @@ output {
|
||||
index => "django-logs-%{+YYYY.MM.dd}"
|
||||
}
|
||||
stdout { codec => rubydebug }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user