You've already forked mastodon-utils
mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2026-04-21 12:05:29 -04:00
slightly less messy & more reliable sourcing of init.sh
This commit is contained in:
@@ -161,6 +161,12 @@ server {
|
||||
|
||||
server_name mastodon.example.com;
|
||||
|
||||
# ensure LE's HTTP challenge is always accessible
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
allow all;
|
||||
}
|
||||
|
||||
# HTTP -> HTTPS
|
||||
if ($host = mastodon.example.com) {
|
||||
return 308 https://$host$request_uri;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user