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