4ca3ccdad3
- returned to Host matcher instead of Hostregexp - switched dockercompose labels to letsencrypt - renamed DoH route
48 lines
997 B
YAML
48 lines
997 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: glance-prod
|
|
namespace: glance
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: (Host(`forust.xyz`) || Host(`www.forust.xyz`)) && PathPrefix(`/glance`)
|
|
kind: Rule
|
|
priority: 50
|
|
middlewares:
|
|
- name: glance-stripprefix
|
|
services:
|
|
- name: glance-service
|
|
port: 8080
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: glance-local
|
|
namespace: glance
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: HostRegexp(`^glance\.(workstation|gigaforust)\.internal$`) && PathPrefix(`/glance`)
|
|
kind: Rule
|
|
middlewares:
|
|
- name: glance-stripprefix
|
|
priority: 50
|
|
services:
|
|
- name: glance-service
|
|
port: 8080
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: glance-stripprefix
|
|
namespace: glance
|
|
spec:
|
|
stripPrefix:
|
|
prefixes:
|
|
- /glance
|