~netlandish/links#46: 
Add support for caddy / tlstunnel

We should add a simple handler for cases where you may want to front the application with a reverse proxy server such as Caddy or tlstunnel.

Caddy works by sending a request to a specified URL path with the query string ?domain=example.org and if a 200 response is returned, it's accepted. If it's 400, (or any non 200 range status) it's rejected.

tlstunnel by calling an external program (validate_command setting) and if exit code is 0 the domain is accepted, otherwise rejected.

Would be easy enough to write a handler that just wraps existing domain verification (Caddy) and also a simple CLI app to call this route for use in tlstunnel.

Status
RESOLVED IMPLEMENTED
Submitter
~petersanchez
Assigned to
Submitted
9 months ago
Updated
9 months ago
Labels
No labels applied.

~petersanchez 9 months ago

Peter Sanchez referenced this ticket in commit a785107.

~petersanchez 9 months ago

Peter Sanchez referenced this ticket in commit 4969ca7.

~petersanchez REPORTED IMPLEMENTED 9 months ago

Peter Sanchez referenced this ticket in commit f66dea4.

Register here or Log in to comment, or comment via email.