mirror of
https://github.com/jakejarvis/mastodon-utils.git
synced 2026-10-31 07:46:22 -04:00
slightly less messy & more reliable sourcing of init.sh
This commit is contained in:
8 files changed
+52
-45
No files matched your search
@@ -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