mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 17:18:40 +08:00
- Block all private/internal networks by default to prevent SSRF attacks - Restrict allowed ports to only HTTP (80) and HTTPS (443) - Remove default domain allowlists (e.g., marketplace.dify.ai) - Implement deny-all-by-default policy with explicit whitelisting - Add example configuration files for common customization scenarios - Provide comprehensive documentation for security configuration Fixes #24392
5 lines
211 B
Plaintext
5 lines
211 B
Plaintext
# Example: Allow access to Dify marketplace
|
|
# Copy this file to /etc/squid/conf.d/10-allow-marketplace.conf to enable
|
|
|
|
acl allowed_marketplace dstdomain .marketplace.dify.ai
|
|
http_access allow allowed_marketplace |