summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/install/idp.conf1
-rw-r--r--templates/install/ipsilon.conf2
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/install/idp.conf b/templates/install/idp.conf
index c49992b..19af096 100644
--- a/templates/install/idp.conf
+++ b/templates/install/idp.conf
@@ -5,6 +5,7 @@ ${wsgi_socket}
<Location /${instance}>
WSGIProcessGroup ${instance}
+${sslrequiressl}
</Location>
<Directory ${ipsilondir}>
diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf
index 357a3a7..8ab17d1 100644
--- a/templates/install/ipsilon.conf
+++ b/templates/install/ipsilon.conf
@@ -11,4 +11,6 @@ tools.sessions.on = True
tools.sessions.storage_type = "file"
tools.sessions.storage_path = "${datadir}/sessions"
tools.sessions.timeout = 60
+tools.sessions.httponly = ${secure}
+tools.sessions.secure = ${secure}
tools.protect.on = True