Commit 77919c0c authored by Jos Schellevis's avatar Jos Schellevis

Proxy work in progress, add extra mimetype block on request

parent a89dc172
......@@ -107,6 +107,7 @@ acl blockuseragents browser {{element}}
# ALC - Block MIME types - User defined (mimetype)
{% for element in OPNsense.proxy.forward.acl.mimeType.split(",") %}
acl blockmimetypes rep_mime_type {{element}}
acl blockmimetypes_requests req_mime_type {{element}}
{% endfor %}
{% endif %}
......@@ -172,7 +173,8 @@ http_access deny blockuseragents
{% if helpers.exists('OPNsense.proxy.forward.acl.mimeType') %}
# ACL list (Deny) blockmimetypes
http_access deny blockmimetypes
http_reply_access deny blockmimetypes
http_access deny blockmimetypes_requests
{% endif %}
# Deny requests to certain unsafe ports
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment