You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently there is no easy way to have zoraxy not respond at all as the default routing option.
One example is that if a subdomain is not present but routed to zoraxy anyways due to a wildcard DNS entry, zoraxy will respond with either a 404 page, a redirect, a forward to an internal target, or the static webserver. However I'd like it to simply not respond at all in cases like this, similar to NPMs "No Response (444)" option.
Describe the solution you'd like
Implement a new Default Routing option in which zoraxy simply does not send any response at all and closes the connection.
Inspiration in the implementation can be taken from NPM/Nginx and its 444 response option.
Describe alternatives you've considered
The only other way I see that could work right now is to set the default route to a proxy target that does something similar, but I'm not sure if that properly closes the connection or truly sends no data back by default or if it would cause zoraxy to register it as a broken route and display an respond with an error instead.
Additional context
The HTTP response code 444 is not an official response code and is only used in NGINX and its paradoxical in itself, as its used whenever there is no response returned, not even the response code itself. So that NGINX terminology can be entirely ignored, I just added it here to make the related functionality easier to find in other projects.
The text was updated successfully, but these errors were encountered:
DerLeole
changed the title
[ENHANCEMENTS] New Default Routing Option: No Response (similar to NGINX 444)
[ENHANCEMENTS] New Default Routing Option: No Response (similar to Nginx 444)
Dec 17, 2024
Though, this only works on HTTP as in HTTPS, the SNI feature need to handle the request first before serving the TLS certificate. So at most what it can reply is an empty 200 resp.
Is your feature request related to a problem? Please describe.
Currently there is no easy way to have zoraxy not respond at all as the default routing option.
One example is that if a subdomain is not present but routed to zoraxy anyways due to a wildcard DNS entry, zoraxy will respond with either a 404 page, a redirect, a forward to an internal target, or the static webserver. However I'd like it to simply not respond at all in cases like this, similar to NPMs "No Response (444)" option.
Describe the solution you'd like
Implement a new Default Routing option in which zoraxy simply does not send any response at all and closes the connection.
Inspiration in the implementation can be taken from NPM/Nginx and its 444 response option.
Describe alternatives you've considered
The only other way I see that could work right now is to set the default route to a proxy target that does something similar, but I'm not sure if that properly closes the connection or truly sends no data back by default or if it would cause zoraxy to register it as a broken route and display an respond with an error instead.
Additional context
The HTTP response code 444 is not an official response code and is only used in NGINX and its paradoxical in itself, as its used whenever there is no response returned, not even the response code itself. So that NGINX terminology can be entirely ignored, I just added it here to make the related functionality easier to find in other projects.
The text was updated successfully, but these errors were encountered: