From 10e28e5c5f007f12df0cfa1ec36f307341b7316b Mon Sep 17 00:00:00 2001 From: mginfn <116359611+mginfn@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:51:55 +0200 Subject: [PATCH] Helm template ragflow.yaml: fix nginx-config-volume mountPath according to Dockerfile v0.25.0 (#14361) ### What problem does this PR solve? Dockerfile v0.25.0 expects nginx conf at path /etc/nginx/ragflow.conf.python, see [Dockerfile#L200](https://github.com/infiniflow/ragflow/blob/ca01c7a7452dcfd3578ce41ba747b95bcf7bffa1/Dockerfile#L200) However current helm template mount the conf at path /etc/nginx/ragflow.conf causing runtime error at startup time. ### Type of change - [X] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: Mauro Gattari --- helm/templates/ragflow.yaml | 4 ++-- helm/templates/ragflow_config.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/templates/ragflow.yaml b/helm/templates/ragflow.yaml index 62f3242fef..e92ff845f5 100644 --- a/helm/templates/ragflow.yaml +++ b/helm/templates/ragflow.yaml @@ -55,8 +55,8 @@ spec: name: admin {{- end }} volumeMounts: - - mountPath: /etc/nginx/conf.d/ragflow.conf - subPath: ragflow.conf + - mountPath: /etc/nginx/conf.d/ragflow.conf.python + subPath: ragflow.conf.python name: nginx-config-volume - mountPath: /etc/nginx/proxy.conf subPath: proxy.conf diff --git a/helm/templates/ragflow_config.yaml b/helm/templates/ragflow_config.yaml index 01f9493761..aec5182e1c 100644 --- a/helm/templates/ragflow_config.yaml +++ b/helm/templates/ragflow_config.yaml @@ -18,7 +18,7 @@ kind: ConfigMap metadata: name: nginx-config data: - ragflow.conf: | + ragflow.conf.python: | server { listen 80; server_name _;