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

View File

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

View File

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