mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
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](ca01c7a745/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 <mauro.gattari@infn.it>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -18,7 +18,7 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: nginx-config
|
||||
data:
|
||||
ragflow.conf: |
|
||||
ragflow.conf.python: |
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
Reference in New Issue
Block a user