aboutsummaryrefslogtreecommitdiffstats
path: root/view/it/htconfig.tpl
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
commit8c99228c8ab4d0475dc2065e5682dd22d680d4e7 (patch)
tree65d2d57bde451526dc1dc3567d4c8722c7df807b /view/it/htconfig.tpl
parent2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32 (diff)
parentf984502499c836cde0be647907be505508c04e0c (diff)
downloadvolse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.gz
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.bz2
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/it/htconfig.tpl')
-rw-r--r--view/it/htconfig.tpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl
index 8f26ec7b0..b809aebdf 100644
--- a/view/it/htconfig.tpl
+++ b/view/it/htconfig.tpl
@@ -36,6 +36,15 @@ $a->config['system']['baseurl'] = '{{$siteurl}}';
$a->config['system']['sitename'] = "Hubzilla";
$a->config['system']['location_hash'] = '{{$site_id}}';
+// These lines set additional security headers to be sent with all responses
+// You may wish to set transport_security_header to 0 if your server already sends
+// this header. content_security_policy may need to be disabled if you wish to
+// run the piwik analytics plugin or include other offsite resources on a page
+
+$a->config['system']['transport_security_header'] = 1;
+$a->config['system']['content_security_policy'] = 1;
+
+
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
// Be certain to create your own personal account before setting
// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on