v0.37.1
This commit is contained in:
1 parent
78dbb31487
commit
f48843e934
83 files changed
+7304
-1203
No files matched your search
@@ -5,6 +5,8 @@ Access control can be configured globally, on a Vhost and on selected Custom loc
|
||||
## Global block / allow policy
|
||||
**Settings → Rules & headers → Global block / allow** applies to public HTTP traffic across all vhosts, redirects and not-found hosts before upstream access. In addition to the existing User-Agent deny patterns, use the global country block/allow list (ISO two-letter codes), client IP/CIDR and allow-only DNS ACL, HTTP method policy, request Content-Type denylist and shared per-IP rate limit. All are disabled by default except previously configured User-Agent blocking. An explicit IP allow does **not** bypass the country policy: both must permit a request. Missing GeoIP country is allowed for country block mode and denied for country allow mode.
|
||||
|
||||
The page starts with a **status bar** listing every rule (country access, User-Agent blocklist, IP/CIDR and DDNS access, HTTP methods, Content-Type and shared rate limit) with its current state (*off*, *on*, *block list*, *allow list*); click an entry to jump to its section. Each section heading shows the same badge, and a section that is off hides its fields until it is switched on. **Countries** are chosen from a searchable list (ISO code and country name in the panel language); typing a name or a two-letter code and pressing Enter adds it.
|
||||
|
||||
Global restrictions add to per-vhost and path rules. Rate-limit requests are counted for each client IP **across** vhosts. Prefer a conservative shared ceiling to avoid blocking shared NAT clients. A global method denial returns 405, the content-type/ACL/UA policy returns 403, and the shared rate limiter returns 429 with `Retry-After`. Admin and TCP/UDP stream listeners are outside this HTTP scope. For global response headers, use the adjacent **Security headers** subtab; see [Security](SECURITY.md).
|
||||
|
||||
## IP, country and DDNS rules
|
||||
|
||||
Reference in new issue
Block a user