From fd72dc6e109603b31fe3203f341930448308d6ba Mon Sep 17 00:00:00 2001 From: YuitoAkatsuki Date: Tue, 24 Sep 2024 10:24:31 +0900 Subject: [PATCH] chore: test --- manifests/ingress.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 manifests/ingress.yaml diff --git a/manifests/ingress.yaml b/manifests/ingress.yaml new file mode 100644 index 0000000..d96740b --- /dev/null +++ b/manifests/ingress.yaml @@ -0,0 +1,25 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: mediawiki-ingress + annotations: + cert-manager.io/cluster-issuer: cluster-issuer + nginx.ingress.kubernetes.io/rewrite-target: /$1 + nginx.ingress.kubernetes.io/ssl-redirect: "true" +spec: + ingressClassName: nginx + rules: + - host: wiki.uniproject-tech.net + http: + paths: + - path: /(?!\.well-known/.+)(.*) + pathType: Prefix + backend: + service: + name: mediawiki + port: + number: 80 + #tls: + #- hosts: + # - wiki.uniproject-tech.net + # secretName: mediawiki-tls \ No newline at end of file