Fix accidental error in Mastodon nginx config

The well-known folder wasn't served properly anymore.
This commit is contained in:
Basti 2017-09-04 10:06:41 +02:00
parent 8afa5ef106
commit 0a3763fe5d

View File

@ -11,7 +11,7 @@ server {
access_log "/var/log/nginx/mastodon.access.log";
error_log "/var/log/nginx/mastodon.error.log";
location /.well-known/acme-challenge/ { allow all; }
location /.well-known { root "/var/www/mastodon"; }
location / { return 301 https://$host$request_uri; }
}