diff --git a/Running-Mastodon/Production-guide.md b/Running-Mastodon/Production-guide.md index 5785335c..a8453fa2 100644 --- a/Running-Mastodon/Production-guide.md +++ b/Running-Mastodon/Production-guide.md @@ -24,7 +24,9 @@ server { listen 80; listen [::]:80; server_name example.com; - return 301 https://$host$request_uri; + # Useful for Let's Encrypt + location /.well-known/acme-challenge/ { allow all; } + location / { return 301 https://$host$request_uri; } } server {