diff --git a/docs/guide/nginx-proxy-example.md b/docs/guide/nginx-proxy-example.md index b4b6c741..ccb9dba5 100644 --- a/docs/guide/nginx-proxy-example.md +++ b/docs/guide/nginx-proxy-example.md @@ -9,7 +9,7 @@ server { listen [::]:80; server_name ; - rewrite ^(.*)$ https://$host$1 permanent; + return 301 https://$host$request_uri; } map $http_upgrade $connection_upgrade {