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
1 changed files with 1 additions and 0 deletions

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(