Skip to content

Commit

Permalink
feat: add files path to nginx proxy config (#29)
Browse files Browse the repository at this point in the history
Resolves the issue of files not being available in the frontend, e.g. DALL-E generated images.

Co-authored-by: Boris Polonsky <[email protected]>
  • Loading branch information
perzeuss and BorisPolonsky authored Jan 27, 2024
1 parent c756a04 commit 9f0158c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/dify/templates/config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@ server {
include proxy.conf;
}
location /files {
proxy_pass http://{{ template "dify.api.fullname" .}}:{{ .Values.api.service.port }};
include proxy.conf;
}
location / {
proxy_pass http://{{ template "dify.web.fullname" .}}:{{ .Values.web.service.port }};
include proxy.conf;
Expand Down

0 comments on commit 9f0158c

Please sign in to comment.