Files
homelab/dmz/traefik/templates/config.yaml
2025-03-04 06:14:21 -06:00

22 lines
487 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: traefik-configmap
data:
config.yml: |
http:
middlewares:
strip-host-and-path-middleware:
stripHost: "test.durp.info"
routers:
router0:
service: service0
rule: Host(`test.durp.info`)
middleware:
- name: strip-host-and-path-middleware
services:
service0:
loadBalancer:
servers:
- url: https://google.com