Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion manage/access-control/rules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ Right now you can match on the following items:

Path match rules allow URL patterns defined with plain text and wildcards (`*`) that match any characters. Patterns and URLs are split into segments (using `/`), and **each segment is matched individually**.

<Warning>
Pangolin matches on the **exact path** and does not account for query parameters. If a path may include query parameters, append a wildcard `*` to the pattern.

For example, allowing `blog/posts` will **not** match `blog/posts?token=123`. Use `blog/posts?token=*` instead.
</Warning>

#### Examples:

- `blog/posts`
Expand All @@ -55,6 +61,9 @@ Path match rules allow URL patterns defined with plain text and wildcards (`*`)
- `personal-*/*`
Matches paths where the first segment starts with `personal-` and is followed by any segment (e.g., `/personal-blog/post`).

- `blog/posts?token=*`
Matches `blog/posts` with any token query parameter (e.g., `/blog/posts?token=abc123`).

#### Segment-by-Segment Matching

- **Normalization:**
Expand Down Expand Up @@ -98,4 +107,4 @@ Pretty simple: you can match on simply an IP address like your home IP to bypass

### Community Contributed Rules

Some common bypass paths for common self hosted apps can be found [in the community contributed rules](/self-host/community-guides/rules).
Some common bypass paths for common self hosted apps can be found [in the community contributed rules](/self-host/community-guides/rules).