Correct c2a-systeme.fr domain

This commit is contained in:
Mathieu Sanchez 2019-05-08 13:40:10 +09:00
parent 969c654a03
commit c5b4edbe18
1 changed files with 4 additions and 7 deletions

View File

@ -19,13 +19,13 @@ server {
# https server
server {
server_name www.c2a-systeme.fr;
server_name c2a-systeme.fr;
listen 443 http2;
listen [::]:443 http2;
ssl on;
ssl_certificate /etc/letsencrypt/live/www.c2a-systeme.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.c2a-systeme.fr/privkey.pem;
ssl_certificate /etc/letsencrypt/live/c2a-systeme.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/c2a-systeme.fr/privkey.pem;
ssl_session_timeout 10m;
ssl_session_cache shared:SSL:50m;
@ -42,13 +42,10 @@ server {
# ref. http://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/letsencrypt/live/www.c2a-systeme.fr/fullchain.pem;
ssl_trusted_certificate /etc/letsencrypt/live/c2a-systeme.fr/fullchain.pem;
resolver 1.1.1.1 1.0.0.1 [2606:4700:4700::1111] [2606:4700:4700::1001] valid=300s; # Cloudflare
resolver_timeout 5s;
root /var/www/html/c2a-web-platform;
index index.html;
# Required for LE certificate enrollment using certbot
location '/.well-known/acme-challenge' {
default_type "text/plain";