15 lines
215 B
YAML
15 lines
215 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: errorpage
|
|
namespace: default
|
|
|
|
spec:
|
|
errors:
|
|
status:
|
|
- "404"
|
|
- "500"
|
|
query: query
|
|
service:
|
|
name: whoami
|
|
port: 80
|