Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2021-09-21 21:37:25 +0300
committernachoparker <nacho@ownyourbits.com>2021-09-22 09:48:57 +0300
commita4851dcd310bd27e447e5ec61d074f164db26b54 (patch)
tree01175410f94c4e90b545b6cc1510cc94716df996 /bin/ncp/CONFIG/nc-nextcloud.sh
parent1046a2413be5d2e55a516b34f9067a7ededf1e6e (diff)
letsencrypt: fix renewal with httpsonly enabledv1.39.9
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'bin/ncp/CONFIG/nc-nextcloud.sh')
-rw-r--r--bin/ncp/CONFIG/nc-nextcloud.sh1
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>