mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Add support for HTTP/3 connections in limitconn.conf
This commit is contained in:
parent
5bfc1b0717
commit
64504bc199
4 changed files with 17 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
- [FEATURE] Add new `securitytxt` plugin to manage the security.txt file from settings and serve it
|
||||
- [FEATURE] Add new `REVERSE_PROXY_PASS_REQUEST_BODY` setting to control if the request body should be passed to the upstream server (default is yes)
|
||||
- [FEATURE] Jobs now have an history which the size can be controlled via the `DATABASE_MAX_JOBS_RUNS` setting (default is 10000) and it will be possible to see it in the web UI in a future release
|
||||
- [FEATURE] Add support for HTTP/3 connections limiting via the `HTTP3_CONNECTIONS_LIMIT` setting (default is 100) in the `limit` plugin
|
||||
- [SCHEDULER] Refactor the scheduler to use the `BUNKERWEB_INSTANCES` (previously known as `OVERRIDE_INSTANCES`) environment variable instead of an integration specific system
|
||||
- [AUTOCONF] Add new `NAMESPACES` environment variable to allow setting the namespaces to watch for the autoconf feature which makes it possible to use multiple autoconf instances in the same cluster while keeping the configuration separated
|
||||
- [UI] Start refactoring the UI to make it more modular and easier to maintain with migration from Jinja to Vue.js
|
||||
|
|
|
|||
|
|
@ -10,8 +10,14 @@ map $http2 $v2ip {
|
|||
"" "";
|
||||
}
|
||||
|
||||
map $http3 $v3ip {
|
||||
default $binary_remote_addr;
|
||||
"" "";
|
||||
}
|
||||
|
||||
limit_conn_zone $v1ip zone=v1ips:10m;
|
||||
limit_conn_zone $v2ip zone=v2ips:10m;
|
||||
limit_conn_zone $v3ip zone=v3ips:10m;
|
||||
|
||||
limit_conn_log_level warn;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
limit_conn v1ips {{ LIMIT_CONN_MAX_HTTP1 }};
|
||||
limit_conn v2ips {{ LIMIT_CONN_MAX_HTTP2 }};
|
||||
limit_conn v3ips {{ LIMIT_CONN_MAX_HTTP3 }};
|
||||
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -61,6 +61,15 @@
|
|||
"regex": "^\\d+$",
|
||||
"type": "text"
|
||||
},
|
||||
"LIMIT_CONN_MAX_HTTP3": {
|
||||
"context": "multisite",
|
||||
"default": "100",
|
||||
"help": "Maximum number of streams per IP when using HTTP/3 protocol.",
|
||||
"id": "limit-conn-max-http3",
|
||||
"label": "Maximum number of HTTP/3 streams",
|
||||
"regex": "^\\d+$",
|
||||
"type": "text"
|
||||
},
|
||||
"LIMIT_CONN_MAX_STREAM": {
|
||||
"context": "multisite",
|
||||
"default": "10",
|
||||
|
|
|
|||
Loading…
Reference in a new issue