1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

owncloud: set forcessl to be true to get the corret HSTS header (would be better if we could prevent ownCloud from sending one)

This commit is contained in:
Joshua Tauberer 2014-08-13 19:27:14 +00:00
parent 5ecbaa2b41
commit ca45c88a32

View File

@ -43,6 +43,7 @@ cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
array (
0 => '$PRIMARY_HOSTNAME',
),
'forcessl' => true, # if unset/false, ownCloud sends a HSTS=0 header, which conflicts with nginx config
'overwritewebroot' => '/cloud',
'user_backends' => array(