Fix accidental error in Mastodon nginx config
The well-known folder wasn't served properly anymore.
This commit is contained in:
parent
8afa5ef106
commit
0a3763fe5d
@ -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; }
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user