websecure

This commit is contained in:
Roxedus 2022-06-04 23:26:34 +02:00
parent 097906e686
commit 649a834fb9
Signed by: Roxedus
GPG Key ID: 9B4E311961C63639
3 changed files with 28 additions and 28 deletions

View File

@ -54,11 +54,11 @@ traefik:
name: auto-cloudflared-secrets name: auto-cloudflared-secrets
env: env:
- name: TRAEFIK_SERVICE_ENDPOINT - name: TRAEFIK_SERVICE_ENDPOINT
value: http://localhost:8000 value: https://localhost:8443
- name: TRAEFIK_API_ENDPOINT - name: TRAEFIK_API_ENDPOINT
value: http://localhost:9000 value: http://localhost:9000
- name: TRAEFIK_ENTRYPOINT - name: TRAEFIK_ENTRYPOINT
value: web value: websecure
# volumeMounts: # volumeMounts:
# - name: dsdsocket # - name: dsdsocket
# mountPath: /socket # mountPath: /socket
@ -337,30 +337,30 @@ traefik:
# Added in 2.2, you can make permanent redirects via entrypoints. # Added in 2.2, you can make permanent redirects via entrypoints.
# https://docs.traefik.io/routing/entrypoints/#redirection # https://docs.traefik.io/routing/entrypoints/#redirection
# redirectTo: websecure # redirectTo: websecure
# websecure: websecure:
# port: 8443 port: 8443
# # hostPort: 8443 # hostPort: 8443
# expose: true expose: true
# exposedPort: 443 exposedPort: 443
# # The port protocol (TCP/UDP) # The port protocol (TCP/UDP)
# protocol: TCP protocol: TCP
# # nodePort: 32443 # nodePort: 32443
# # Enable HTTP/3. # Enable HTTP/3.
# # Requires enabling experimental http3 feature and tls. # Requires enabling experimental http3 feature and tls.
# # Note that you cannot have a UDP entrypoint with the same port. # Note that you cannot have a UDP entrypoint with the same port.
# http3: true http3: true
# # Set TLS at the entrypoint # Set TLS at the entrypoint
# # https://doc.traefik.io/traefik/routing/entrypoints/#tls # https://doc.traefik.io/traefik/routing/entrypoints/#tls
# tls: # tls:
# enabled: true # enabled: true
# # this is the name of a TLSOption definition # # this is the name of a TLSOption definition
# options: "" # options: ""
# certResolver: cf # certResolver: cf
# domains: # domains:
# - main: roxedus.com # - main: roxedus.com
# sans: # sans:
# - "*.roxedus.com" # - "*.roxedus.com"
# # - bar.example.com # - bar.example.com
metrics: metrics:
port: 9100 port: 9100
# hostPort: 9100 # hostPort: 9100

View File

@ -5,7 +5,7 @@ metadata:
namespace: default namespace: default
spec: spec:
entryPoints: entryPoints:
- web - websecure
routes: routes:
- kind: Rule - kind: Rule
match: Host(`argocd.roxedus.com`) match: Host(`argocd.roxedus.com`)

View File

@ -6,7 +6,7 @@ metadata:
namespace: default namespace: default
spec: spec:
entryPoints: entryPoints:
- web - websecure
routes: routes:
- kind: Rule - kind: Rule
match: Host(`traefik.roxedus.com`) && PathPrefix(`/dashboard`) match: Host(`traefik.roxedus.com`) && PathPrefix(`/dashboard`)