This commit is contained in:
samsep101
2026-01-05 14:49:10 +05:00
parent c652eaeb46
commit 248d292cae
5 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: static-site
namespace: default
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
tls:
- hosts:
- static.apps.kopikopi.com.ru
secretName: static-site-tls
rules:
- host: static.apps.kopikopi.com.ru
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: static-site
port:
number: 80