MyNixOS website logo
option

services.prometheus.exporters.nginx.firewallRules

Specify rules for nftables to add to the input chain when services.prometheus.exporters.nginx.openFirewall is true.

Declarations
Type
null or strings concatenated with "\n"
Default
null
Example
iifname "eth0" tcp dport 9113 counter accept