22 lines
502 B
YAML
22 lines
502 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: caddy-config
|
|
namespace: caddy-namespace
|
|
data:
|
|
Caddyfile: |
|
|
{
|
|
email emancipaciocomunitaria@riseup.net
|
|
acme_ca https://acme-v02.api.letsencrypt.org/directory
|
|
}
|
|
|
|
# Redirigir HTTP → HTTPS (opcional)
|
|
http://ents.space {
|
|
redir https://ents.space{uri} permanent
|
|
}
|
|
|
|
# Configuración HTTPS con proxy inverso
|
|
https://ents.space {
|
|
reverse_proxy nginx1-service.default.svc.cluster.local:11111
|
|
}
|