1
0
peilaus alkaen https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-01 21:27:22 +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:
Joshua Tauberer
2014-08-13 19:27:14 +00:00
vanhempi 5ecbaa2b41
commit ca45c88a32

Näytä tiedosto

@@ -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(