slightly less messy & more reliable sourcing of init.sh

This commit is contained in:
jake committed 2023-01-03 10:17:33 -05:00
1 parent e894dcd6f8
commit f2aa4a039e
8 files changed
+52 -45

No files matched your search

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