From ca45c88a32f34725b3f54dcdb79f20bf41e1aa2a Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 13 Aug 2014 19:27:14 +0000 Subject: [PATCH] owncloud: set forcessl to be true to get the corret HSTS header (would be better if we could prevent ownCloud from sending one) --- setup/owncloud.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 23641ff1..d19798a8 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -43,6 +43,7 @@ cat - > /usr/local/lib/owncloud/config/config.php < '$PRIMARY_HOSTNAME', ), + 'forcessl' => true, # if unset/false, ownCloud sends a HSTS=0 header, which conflicts with nginx config 'overwritewebroot' => '/cloud', 'user_backends' => array(