tcpPort routing
-
I understand from the documentation that Cloudron routes HTTP/HTTPS traffic by domain name, but for custom TCP ports, it appears to route only by port, not by hostname or SNI. Also that it is a 1:1 mapping, port 1234 goes to only one container.
-
Is this correct ? (sometimes documentation lags reality)
-
Are there any plans to add SNI-based routing OR SNI-based checks for apps using a TCP port ? By check, I mean incoming traffic to port 1234 gets delivered to the container only if the request comes from APP_ORIGIN or APP_DOMAIN.
It would be wonderful if there was something like reverse proxy support for tcp port, like there is for https.
Context : trying to decide how best to implement deployment of multiple instances of an app supporting gemini protocol. It’s working now except a feature of gemini protocol means gemini clients can’t handle different ports when using just the bare APP_DOMAIN.
-
-
I understand from the documentation that Cloudron routes HTTP/HTTPS traffic by domain name, but for custom TCP ports, it appears to route only by port, not by hostname or SNI. Also that it is a 1:1 mapping, port 1234 goes to only one container.
-
Is this correct ? (sometimes documentation lags reality)
-
Are there any plans to add SNI-based routing OR SNI-based checks for apps using a TCP port ? By check, I mean incoming traffic to port 1234 gets delivered to the container only if the request comes from APP_ORIGIN or APP_DOMAIN.
It would be wonderful if there was something like reverse proxy support for tcp port, like there is for https.
Context : trying to decide how best to implement deployment of multiple instances of an app supporting gemini protocol. It’s working now except a feature of gemini protocol means gemini clients can’t handle different ports when using just the bare APP_DOMAIN.
@timconsidine said in tcpPort routing:
- Is this correct ?
Yes, if one port is used by one app, it can only be used by one app and is routed by port.
@timconsidine said in tcpPort routing:
- Are there any plans to add SNI-based routing OR SNI-based checks for apps using a TCP port ?
I am giving this question to @staff
This would be a very nice addition. -