1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-04 19:37:55 +00:00

HTTP rules now allow filtering by port

This commit is contained in:
Merith-TK
2021-02-22 02:56:04 -08:00
parent 2e527eb11e
commit 71d764f122
10 changed files with 106 additions and 20 deletions

View File

@@ -52,4 +52,24 @@ were due to unrelated Forge changes.
Fix additional `-` in docs
Why isn't this automatically stripped! Bad squid.
```
```
275ca58a82c627128a145a8754cbe32568536bd9
HTTP rules now allow filtering by port
The HTTP filtering system becomes even more complex! Though in this
case, it's pretty minimal, and definitely worth doing.
For instance, the following rule will allow connecting to localhost on
port :8080.
[[http.rules]]
host = "127.0.0.1"
port = 8080
action = "allow"
# Other rules as before.
Closes #540
```