location / { return 404; } location /dns-query { proxy_pass http://127.0.0.1:{{ blocky_port }}; proxy_set_header Connection ""; } {% if host_metrics -%} location /metrics { proxy_pass http://127.0.0.1:{{ blocky_port }}; allow {{ int_net }}; deny all; } {%- endif %}