Nginx has the nice option to close the connection without any response if somebody is trying to request a specific path:
location /some-specific-path-only-with-vpn {
return 444;
}
Is this possible with caddy but not documented? I cant find something in the documentation about the ability to close the tcp connection with reqrite rules.
Yeah, I’m curious as to why a TCP reset is required over a Status 403 (Forbidden), which would be the proper way to reject a connection in this circumstance.