Fixed Caddyfile for CI
This commit is contained in:
@@ -20,6 +20,16 @@
|
||||
respond "not found" 404
|
||||
}
|
||||
|
||||
http://{$SITE_ADDRESS} {
|
||||
handle /.well-known/acme-challenge/* {
|
||||
respond "ACME challenge not found" 404
|
||||
}
|
||||
|
||||
handle {
|
||||
redir https://{$SITE_ADDRESS}{uri} 308
|
||||
}
|
||||
}
|
||||
|
||||
{$SITE_ADDRESS} {
|
||||
root * /srv
|
||||
encode zstd gzip
|
||||
|
||||
Reference in New Issue
Block a user