From 0a3763fe5d811c9a91f699f054f240205166a7b0 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 4 Sep 2017 10:06:41 +0200 Subject: [PATCH] Fix accidental error in Mastodon nginx config The well-known folder wasn't served properly anymore. --- .../kosmos-mastodon/templates/default/nginx_conf_mastodon.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb b/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb index f6b3fb6..fe52260 100644 --- a/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb +++ b/site-cookbooks/kosmos-mastodon/templates/default/nginx_conf_mastodon.erb @@ -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; } }