NGINX module to sanitize HTML 5 with whitelisted elements, attributes and CSS
10 — Every core and module directive — syntax, defaults, contexts, and real configuration examples.
html_sanitize
The 'html_sanitize' directive configures NGINX to sanitize HTML input by…
location
html_sanitize_attribute
The `html_sanitize_attribute` directive specifies which HTML attributes are…
location
html_sanitize_element
The `html_sanitize_element` directive specifies which HTML elements are…
location
html_sanitize_hash_bucket_size
The `html_sanitize_hash_bucket_size` directive sets the size of the hash…
location
html_sanitize_hash_max_size
Defines the maximum size of the hash table used for storing sanitized HTML…
location
html_sanitize_iframe_url_domain
Sanitizes the domains of URLs present in iframe tags based on a specified…
location
html_sanitize_iframe_url_protocol
The `html_sanitize_iframe_url_protocol` directive specifies allowable URL…
location
html_sanitize_style_property
The `html_sanitize_style_property` directive specifies which CSS style…
location
html_sanitize_url_domain
The `html_sanitize_url_domain` directive specifies whitelisted domains for…
location
html_sanitize_url_protocol
The html_sanitize_url_protocol directive specifies allowed URL protocols for…
location