-
Hi, I am trying to deploy dify on cloud services, and I am quiet confused with the default settings of Questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Maybe this will help somehow https://docs.dify.ai/getting-started/install-self-hosted/install-faq#id-16.-why-is-ssrf_proxy-needed |
Beta Was this translation helpful? Give feedback.
-
After some digging, I find out what exact ssrf-proxy is used in dify. It is used mainly in the following situations:
So, if you don't use API-Based extension and don't add additional http request library in sandbox, it is safe to delete the ssrf-proxy. Also, despite a reverse server to sandbox is configured in squid, the default setting does not use the reverse server but connect directly to sandbox. |
Beta Was this translation helpful? Give feedback.
-
It seems the correct link is: https://docs.dify.ai/learn-more/faq/install-faq#id-18.-why-is-ssrf_proxy-needed |
Beta Was this translation helpful? Give feedback.
After some digging, I find out what exact ssrf-proxy is used in dify.
It is used mainly in the following situations:
requests.get
in Python code, for example)So, if you don't use API-Based extension and don't add additional http request library in sandbox, it is safe to delete the ssrf-proxy.
Also, despite a reverse server to sandbox is configured in squid, the default setting does not use the reverse server but connect directly to sandbox.