Skip to content

Instantly share code, notes, and snippets.

@pascalandy
Created February 1, 2017 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pascalandy/e0bf361347c2fbada26a954465c85902 to your computer and use it in GitHub Desktop.
Save pascalandy/e0bf361347c2fbada26a954465c85902 to your computer and use it in GitHub Desktop.
################################################################
# Option 1) Accepts request on port 80 and 443
################################################################
#[entryPoints]
# [entryPoints.http]
# address = ":80"
# [entryPoints.https]
# address = ":443"
# [entryPoints.https.tls]
################################################################
# Option 2) Auto-redirect requests from port 80 to 443
################################################################
#[entryPoints]
# [entryPoints.http]
# address = ":80"
# [entryPoints.http.redirect]
# entryPoint = "https"
# [entryPoints.https]
# address = ":443"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment