manifests: contact-mailer-api ingress for api.felhom.eu (D35/R-1228, operator yes 2026-10-30) — the form's endpoint once the site is on Cloudflare
gates / gates (push) Successful in 1m44s
gates / gates (push) Successful in 1m44s
This commit is contained in:
1 parent
cea8a90763
commit
bd74a613bf
1 file changed
+31
-1
@@ -142,4 +142,34 @@ spec:
|
||||
service:
|
||||
name: contact-mailer
|
||||
port:
|
||||
number: 80
|
||||
number: 80---
|
||||
# D35 / R-1228 (operator yes 2026-10-30): the website moves to Cloudflare Pages, which cannot run this mailer. The form
|
||||
# posts here instead (website `formEndpoint` = https://api.felhom.eu/api/contact); the mailer's CORS already answers
|
||||
# for https://felhom.eu and https://www.felhom.eu. DNS: api.felhom.eu CNAME → the home line, NOT proxied (HTTP-01).
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: contact-mailer-api
|
||||
namespace: felhom-system
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "25m"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "60"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "60"
|
||||
spec:
|
||||
ingressClassName: nginx-internal
|
||||
tls:
|
||||
- hosts:
|
||||
- api.felhom.eu
|
||||
secretName: felhom-api-tls
|
||||
rules:
|
||||
- host: api.felhom.eu
|
||||
http:
|
||||
paths:
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: contact-mailer
|
||||
port:
|
||||
number: 80
|
||||
Reference in new issue
Block a user