gitops/scripts/update-server/templates/configmap.yaml
2025-06-11 16:20:35 +08:00

19 lines
372 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: update-nginx-config
data:
nginx.conf: |
server {
listen 80;
server_name localhost;
root {{ .Values.storage.mountPath }};
index index.html;
autoindex on;
location / {
autoindex_exact_size off;
autoindex_localtime on;
try_files $uri $uri/ =404;
}
}