-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per-vhost listening addresses #1105
Comments
We can also allow to bind very specific
This can be very generic solution and might be handy in some installations. Also |
Crucial for a CDN setup. It's impossible to keep different protocols on the same listening address and port, i.e. following configuration is invalid
However, with HTTP/3 following configuration is valid since there are TCP and UDP ports:
I.e. we need not only information about IP and port, but also about the protocol (TCP/UDP or h2/h3) and this is the business for L3/L4 firewall like IPtables to care about low level networking. Also the current HTTPtables implement AND with different chain and OR with rules within the same chain. Thus, the task is only in making The approach produces a lot of boilerplate configuration. Instead of adding only one
Instead of writing the new code in C for this particular usability improvement we can solve this with:
Tests for the issue is #716 |
Currently we can open many listening sockets (see the wiki), but all vhosts will be services on all the addresses. It must be possible to specify per-vhost listening addresses. All vhosts w/o explicit listening address must be serviced on the global listening address as now.
The listening addresses reconfiguration must be zero-downtime.
The text was updated successfully, but these errors were encountered: