Commit c5c540ee authored by Nick Busey's avatar Nick Busey

Merge branch 'https-only' into 'master'

HTTPS only (optional)

See merge request !44
parents d318a71a 79107820
Pipeline #42477787 passed with stages
in 30 seconds
......@@ -4,6 +4,8 @@ common_timezone: Etc/UTC
enable_tinc: False
enable_tor: False
https_only: false
enable_apple_health_influx: False
enable_bitwarden: False
enable_bookstack: False
......
......@@ -6,8 +6,10 @@ defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
# [entryPoints.http.redirect]
# entryPoint = "https"
{% if https_only %}
[entryPoints.http.redirect]
entryPoint = "https"
{% endif %}
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
......
......@@ -35,6 +35,8 @@ admin_email: {{admin_email}}
enable_tinc: {{enable_tinc}}
enable_tor: {{enable_tor}}
https_only: {{https_only}}
# Services
# You can enable/disable services individually by changing False to True and vice versa.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment