diff --git a/roles/deploy-web/files/gouter b/roles/deploy-web/files/gouter index 881f846..59fe4db 100644 --- a/roles/deploy-web/files/gouter +++ b/roles/deploy-web/files/gouter @@ -4,8 +4,8 @@ server { #gzip_static off; server_name clarissariviere.com clarissariviere.fr www.clarissariviere.fr www.clarissariviere.com; add_header 'Content-Security-Policy' 'upgrade-insecure-requests'; - add_header Link ""; - proxy_cache STATIC; + add_header Link " rel=\"canonical\", rel=\"alternate\" hreflang=\"fr\""; + proxy_cache STATIC; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. @@ -27,7 +27,7 @@ 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 ' ''; + sub_filter '' ''; sub_filter_types text/html text/xml text/plain text/css; sub_filter_once off;