Skip to content

Feature Request: Exclude/whitelist path in block #20

@mwpastore

Description

@mwpastore

It would be great for quirky things (like WordPress) to be able to exclude/whitelist some path(s) in an ipfilter allow stanza, like so:

ipfilter /wp-admin {
  if {path} not /wp-admin/admin-ajax.php
  allow
  ip ::1
  strict
}

This example follows the syntax used by rewrite, minify, etc., but it could take other forms; possibly something like:

ipfilter {
  regex /wp-admin(?!/admin-ajax\.php).*
  allow
  ip ::1
  strict
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions