2023-06-26 09:20:23 +02:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: app
|
|
|
|
annotations:
|
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "138m"
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "true" #cf 01
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For" #cf 01
|
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
rules:
|
|
|
|
- host: app.dev.local
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /adminer
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: adminer
|
|
|
|
port:
|
|
|
|
number: 8080
|
|
|
|
- path: /phpldapadmin
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: phpldapadmin
|
|
|
|
port:
|
|
|
|
number: 8080
|
|
|
|
- path: /sftpbrowser
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: sftpbrowser
|
|
|
|
port:
|
|
|
|
number: 8080
|
2023-07-23 15:46:26 +02:00
|
|
|
- path: /
|
2023-06-26 09:20:23 +02:00
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: app
|
|
|
|
port:
|
|
|
|
number: 8080
|