dify/docker/ssrf_proxy/conf.d.example/10-allow-marketplace.conf.example
-LAN- 23c97ec7f7
chore: strengthen SSRF proxy default configuration
- 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
2025-09-01 13:45:07 +08:00

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