bunkerized-nginx/examples/prestashop/kubernetes.yml
2022-10-19 17:37:13 +02:00

22 lines
562 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress
annotations:
bunkerweb.io/AUTO_LETS_ENCRYPT: "yes"
bunkerweb.io/www.example.com_MAX_CLIENT_SIZE: "50m"
bunkerweb.io/www.example.com_LIMIT_REQ_URL_1: "/install/index.php"
bunkerweb.io/www.example.com_LIMIT_REQ_RATE_1: "8r/s"
spec:
rules:
- host: www.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prestashop
port:
number: 80