k8s-template/nginx/nginx-route.yml

14 lines
284 B
YAML
Raw Normal View History

2024-03-21 11:27:25 +00:00
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: nginxir
namespace: juiceshop
spec:
entryPoints:
- web
routes:
- match: Host(`whoami.172.233.166.227.nip.io`) && PathPrefix(`/`)
kind: Rule
services:
- name: nginx
port: 80