Update setup script
This commit is contained in:
parent
ea2f390457
commit
18ad3a673f
4 changed files with 34 additions and 23 deletions
8
dist/nginx-before-certbot.conf
vendored
Normal file
8
dist/nginx-before-certbot.conf
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name example.com;
|
||||
root /home/mastodon/live/public;
|
||||
location /.well-known/acme-challenge/ { allow all; }
|
||||
location / { return 301 https://$host$request_uri; }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue