-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HTTP/HTTPS: Reuse or merge port for API and Stream to avoid HTTP Proxy, to avoid proxy, it is recommended to reuse the port. #2881
Labels
Milestone
Comments
This was referenced Jan 14, 2022
Caddy config
|
@jonahzheng What about HTTPS config like Nginx? Apart from HTTP proxy, I want to config the HTTPS with SSL key and cert file. |
So i guess this config works if with an ingress and the https being done by the ingress router ? |
Closed
On the console page, there is a connection that directly accesses port 1985, but the above nginx configuration file does not have a proxy listening on port 1985.
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
The SRS 4.0 HTTP API and Stream listen at different ports, so we must use a HTTP proxy if listen at a single HTTP or HTTPS port. Note that SRS 5.0 supports HTTP API and Stream listen at the same port, such as 8080.
Ports
SRS 4.0 HTTP API ports:
SRS 4.0 HTTP Stream ports:
SRS 5.0 + HTTP API and Stream ports:
Paths
Nginx Proxy
Caddy Proxy
Nodejs KOA Proxy
HTTPX Proxy
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: