diff options
author | nachoparker <nacho@ownyourbits.com> | 2021-09-21 21:37:25 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2021-09-22 09:48:57 +0300 |
commit | a4851dcd310bd27e447e5ec61d074f164db26b54 (patch) | |
tree | 01175410f94c4e90b545b6cc1510cc94716df996 /bin/ncp/CONFIG | |
parent | 1046a2413be5d2e55a516b34f9067a7ededf1e6e (diff) |
letsencrypt: fix renewal with httpsonly enabledv1.39.9
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp/CONFIG')
-rw-r--r-- | bin/ncp/CONFIG/nc-nextcloud.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ncp/CONFIG/nc-nextcloud.sh b/bin/ncp/CONFIG/nc-nextcloud.sh index e56c701c..4b9cf9de 100644 --- a/bin/ncp/CONFIG/nc-nextcloud.sh +++ b/bin/ncp/CONFIG/nc-nextcloud.sh @@ -186,6 +186,7 @@ EOF DocumentRoot /var/www/nextcloud <IfModule mod_rewrite.c> RewriteEngine On + RewriteRule ^.well-known/acme-challenge/ - [L] RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] </IfModule> |