nas/dist/nginx-before-certbot.conf
2023-09-17 07:31:19 +09:00

8 lines
214 B
Text

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; }
}