1
mirror of https://github.com/jakejarvis/mastodon-utils.git synced 2025-11-04 10:20:11 -05:00

slightly less messy & more reliable sourcing of init.sh

This commit is contained in:
2023-01-03 10:17:33 -05:00
parent e894dcd6f8
commit f2aa4a039e
8 changed files with 52 additions and 45 deletions

View File

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