-
Notifications
You must be signed in to change notification settings - Fork 240
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
Proxy served on all (sub)domains #18
Comments
@hacker1024 |
Sergey is right. ... although technically, Caddy does already (uniquely) hold onto the TLS ClientHello info for MITM detection for each HTTPS request. It doesn't currently hold onto the SNI information but we could potentially add it. Anyway, it's not out of the question. |
I see. In the meantime, perhaps an error or warning could show when someone tries to do what I've done? |
Perhaps we could introduce a It's a bit of a hack, and very, very niche use, and we'd have to consider on the implications for probe resistance. Feedback and critique welcome. |
I think the When proxy traffic comes with While currently the fallback method is just a workaround. We should consider a perfect solution. |
Now we should be able to do this.
|
Here's my caddyfile (I have to use port 443 for other reasons, but this happens on any port):
pi
is my server's hostname in my LAN. A proxy is hosted at proxy.website.com, which is what should be happening. The problem is, it's also hosted on port 443 on any other domain. This Caddyfile is just one example. No matter what I try, I can't only host the proxy on one domain, no matter the port or domain.Another example:
Here, a webpage won't get served at website.com:80.
Instead, a proxy will. this makes it impossible to have a proxy served only on a subdomain, on the same port.
The text was updated successfully, but these errors were encountered: