mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-04-19 00:17:23 +02: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:
@@ -43,6 +43,7 @@ cat - > /usr/local/lib/owncloud/config/config.php <<EOF;
|
|||||||
array (
|
array (
|
||||||
0 => '$PRIMARY_HOSTNAME',
|
0 => '$PRIMARY_HOSTNAME',
|
||||||
),
|
),
|
||||||
|
'forcessl' => true, # if unset/false, ownCloud sends a HSTS=0 header, which conflicts with nginx config
|
||||||
|
|
||||||
'overwritewebroot' => '/cloud',
|
'overwritewebroot' => '/cloud',
|
||||||
'user_backends' => array(
|
'user_backends' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user