diff --git a/dist/nginx-before-certbot.conf b/dist/nginx-before-certbot.conf index 221b949e70e1dd..bc8aedfe77ac76 100644 --- a/dist/nginx-before-certbot.conf +++ b/dist/nginx-before-certbot.conf @@ -4,5 +4,4 @@ server { server_name example.com; root /home/mastodon/live/public; location /.well-known/acme-challenge/ { allow all; } - location / { return 301 https://$host$request_uri; } }