21 lines
541 B
YAML
21 lines
541 B
YAML
|
|
# Public only once a matching vhost exists in Caddy (LXC 100) pointing at
|
||
|
|
# Traefik on 10.0.0.141-143:80. Test before that, over WireGuard:
|
||
|
|
# curl -H 'Host: whoami.un-oeil.fr' http://10.0.0.141
|
||
|
|
apiVersion: networking.k8s.io/v1
|
||
|
|
kind: Ingress
|
||
|
|
metadata:
|
||
|
|
name: whoami
|
||
|
|
spec:
|
||
|
|
ingressClassName: traefik
|
||
|
|
rules:
|
||
|
|
- host: whoami.un-oeil.fr
|
||
|
|
http:
|
||
|
|
paths:
|
||
|
|
- path: /
|
||
|
|
pathType: Prefix
|
||
|
|
backend:
|
||
|
|
service:
|
||
|
|
name: whoami
|
||
|
|
port:
|
||
|
|
name: http
|