Skip to content

TLS support through Let's Encrypt using Traefik #112

Answered by kjellberg
nerdinand asked this question in Q&A
Discussion options

You must be logged in to vote

Just managed to get https to work with Lets encrypt using the following configuration on PR #100:

servers:
  web:
    hosts:
      - 206.1*9.***.30 
    labels:
      traefik.http.routers.kiqr_cloud.rule: Host(`example.com`)
      traefik.http.routers.kiqr_cloud_secure.entrypoints: websecure
      traefik.http.routers.kiqr_cloud_secure.rule: Host(`example.com`)
      traefik.http.routers.kiqr_cloud_secure.tls: true
      traefik.http.routers.kiqr_cloud_secure.tls.certresolver: letsencrypt

traefik:
  options:
    publish:
      - "443:443"
    volume:
      - "/letsencrypt/acme.json:/letsencrypt/acme.json"
  args:
    entryPoints.web.address: ":80"
    entryPoints.websecure.address: ":443"

Replies: 13 comments 36 replies

Comment options

You must be logged in to vote
1 reply
@nerdinand
Comment options

Comment options

You must be logged in to vote
9 replies
@yalokin
Comment options

@cschep
Comment options

@cschep
Comment options

@shafy
Comment options

@shafy
Comment options

Answer selected by nerdinand
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@clayton
Comment options

@glaucocustodio
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@nickhammond
Comment options

@milushov
Comment options

@milushov
Comment options

@nickhammond
Comment options

@milushov
Comment options

Comment options

You must be logged in to vote
3 replies
@curtisspendlove
Comment options

@kaka-ruto
Comment options

@kaka-ruto
Comment options

Comment options

You must be logged in to vote
3 replies
@nlsrchtr
Comment options

@gammons
Comment options

@nlsrchtr
Comment options

Comment options

You must be logged in to vote
1 reply
@ttilberg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@kaka-ruto
Comment options

@musbenlahrech
Comment options

@scart88
Comment options

@ttilberg
Comment options

@musbenlahrech
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AchoArnold
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet