a.ioot.xyz: use nginx configuration from /home/www

This commit is contained in:
Andrei Kartashov 2026-07-27 11:29:01 +07:00
parent 153aa9af0e
commit 6cac230642

View file

@ -20,6 +20,9 @@ spec:
hostPath:
path: /home/www/a.ioot.xyz
type: Directory
- name: nginxdefaultconf
hostPath:
path: /home/www/nginx.vh.default.conf
containers:
- name: aiootxyz
image: nginx:alpine
@ -29,6 +32,8 @@ spec:
volumeMounts:
- mountPath: /usr/share/nginx/html
name: aiootxyz
- mountPath: /etc/nginx/conf.d/default.conf
name: nginxdefaultconf
---
kind: Service
apiVersion: v1
@ -49,6 +54,9 @@ metadata:
name: aiootxyz
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
spec:
ingressClassName: nginx
tls: