Update setup script

This commit is contained in:
KMY 2023-09-17 07:31:19 +09:00
parent ea2f390457
commit 18ad3a673f
4 changed files with 34 additions and 23 deletions

8
dist/nginx-before-certbot.conf vendored Normal file
View 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; }
}