forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got dify running on Mac 14.1.2 (23B92) with colima
- Loading branch information
Showing
2 changed files
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,33 @@ | ||
upstream api { | ||
server docker-api-1:5001; | ||
} | ||
|
||
server { | ||
listen 80; | ||
server_name _; | ||
|
||
location /console/api { | ||
proxy_pass http://api:5001; | ||
include proxy.conf; | ||
proxy_pass http://api; | ||
include proxy.conf; | ||
} | ||
|
||
location /api { | ||
proxy_pass http://api:5001; | ||
include proxy.conf; | ||
proxy_pass http://api; | ||
include proxy.conf; | ||
} | ||
|
||
location /v1 { | ||
proxy_pass http://api:5001; | ||
include proxy.conf; | ||
proxy_pass http://api; | ||
include proxy.conf; | ||
} | ||
|
||
location /files { | ||
proxy_pass http://api:5001; | ||
include proxy.conf; | ||
proxy_pass http://api; | ||
include proxy.conf; | ||
} | ||
|
||
location / { | ||
proxy_pass http://web:3000; | ||
include proxy.conf; | ||
proxy_pass http://web:3000; | ||
include proxy.conf; | ||
} | ||
|
||
# If you want to support HTTPS, please uncomment the code snippet below | ||
#listen 443 ssl; | ||
#ssl_certificate ./../ssl/your_cert_file.cer; | ||
#ssl_certificate_key ./../ssl/your_cert_key.key; | ||
#ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; | ||
#ssl_prefer_server_ciphers on; | ||
#ssl_session_cache shared:SSL:10m; | ||
#ssl_session_timeout 10m; | ||
} |