Merge pull request #59 from nextcloud/enh/18/improve-apache-caddy-conf

disable http_challenge and add https:// to the url
This commit is contained in:
Simon Lindner 2021-12-07 19:24:29 +01:00 committed by GitHub
commit 602895c34e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
}
}
{$NC_DOMAIN}:443 {
https://{$NC_DOMAIN}:443 {
# Notify Push
route /push/* {
@ -50,4 +50,11 @@
header Strict-Transport-Security max-age=31536000;
reverse_proxy localhost:80
}
# TLS options
tls {
issuer acme {
disable_http_challenge
}
}
}