diff --git a/roles/deploy-web/files/gouter b/roles/deploy-web/files/gouter index 80c5dd2..3097af3 100644 --- a/roles/deploy-web/files/gouter +++ b/roles/deploy-web/files/gouter @@ -47,7 +47,7 @@ server { #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-Proto $scheme; sub_filter 'canonical' "$link"; - sub_filter 'gouters.canalblog.com' "$host"; + sub_filter 'http://gouters.canalblog.com' "https://$host"; sub_filter '' ''; sub_filter '