Specify root directive for letsencrypt (#471)
This commit is contained in:
parent
079d0f0720
commit
88d81f14e9
|
@ -199,6 +199,7 @@ server {
|
|||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name example.com;
|
||||
root /home/mastodon/live/public;
|
||||
# Useful for Let's Encrypt
|
||||
location /.well-known/acme-challenge/ { allow all; }
|
||||
location / { return 301 https://$host$request_uri; }
|
||||
|
|
Loading…
Reference in New Issue