summaryrefslogtreecommitdiffstats
path: root/startup.txr
diff options
context:
space:
mode:
Diffstat (limited to 'startup.txr')
-rw-r--r--startup.txr14
1 files changed, 8 insertions, 6 deletions
diff --git a/startup.txr b/startup.txr
index 76e3d5e..9cf323a 100644
--- a/startup.txr
+++ b/startup.txr
@@ -6,13 +6,15 @@
@ (error-form "Configuration Missing" "Cannot read /etc/mailname file")
@ (fail)
@ (end)
-@ (cases)
-@ (next :env)
-@ (skip)
+@ (if require-https)
+@ (cases)
+@ (next :env)
+@ (skip)
HTTPS=on
-@ (or)
-@ (error-form "Security Problem" "Not redirected to HTTPS!")
-@ (fail)
+@ (or)
+@ (error-form "Security Problem" "Not redirected to HTTPS!")
+@ (fail)
+@ (end)
@ (end)
@ (do (umask #o007))
@(end)