Created
May 26, 2020 20:36
-
-
Save lfache/8fc545ca2cb2c74edab50ea5ca1838ad to your computer and use it in GitHub Desktop.
Whoami for Traefik example with HTTPS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: traefik.containo.us/v1alpha1 | |
kind: IngressRoute | |
metadata: | |
name: ingressroutetls | |
spec: | |
entryPoints: | |
- websecure | |
routes: | |
- match: Host(`mydomain.com`) | |
kind: Rule | |
services: | |
- name: whoami-app | |
port: 80 | |
tls: # This route uses TLS | |
certResolver: myresolver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment