diff --git a/roles/deploy-web/files/gouter b/roles/deploy-web/files/gouter index 212bd9d..b87b4bc 100644 --- a/roles/deploy-web/files/gouter +++ b/roles/deploy-web/files/gouter @@ -1,7 +1,7 @@ server { - #gzip_static off; access_log /var/log/nginx/clarissa_access.log main; error_log /var/log/nginx/clarissa_error.log; + #gzip_static off; server_name clarissariviere.com clarissariviere.fr www.clarissariviere.fr www.clarissariviere.com; add_header 'Content-Security-Policy' 'upgrade-insecure-requests'; proxy_cache STATIC; @@ -25,17 +25,23 @@ server { #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-Proto $scheme; sub_filter 'gouters.canalblog.com' "$host"; - sub_filter_types text/html text/css text/xml text/plain; + sub_filter_types text/html text/xml text/plain text/css; sub_filter_once off; } - + location /googlebbc3cfa6d1866691.html { + root /var/www/gouter/; + } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/clarissariviere.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/clarissariviere.com/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot + + + + } server { @@ -63,5 +69,4 @@ server { listen 80; return 404; # managed by Certbot - }