mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
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…
x
Reference in New Issue
Block a user