First commit

This commit is contained in:
MaddoScientisto 2026-03-13 21:12:15 +01:00
commit fdaacfc5a6
19 changed files with 919 additions and 0 deletions

View file

@ -0,0 +1,14 @@
set $is_redirect "0";
if ( $scheme = "http" ) {
set $is_redirect "1";
}
if ( $uri ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" ) {
set $is_redirect "0";
}
if ( $is_redirect ) {
return 301 https://$server_name$request_uri;
}