NGINX tcp stream on port 443

MDUB88

Is it possible to have nginx host a website on standard ports 80 and 443 while at the same time having it proxy a tcp stream on the same port 443 ?

In which case, how does nginx know when to route the client to the website and when to route to the stream ? It seems like tcp streams don't support the "server_name" value.

samottenhoff

It is not possible to use both stream and http on one port. HTTP has the concept of routing based on server name while a tcp stream cannot route based on a server name.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

nginx & docker - Forwarding port 80/443 to 3000

deploy react on server nginx on port 443

ELB redirecting 443/80 to single port on nginx docker container

Is it possible to run HTTP/2 on NGINX port 443 without ssl?

How to listen 443 port in jwilder/nginx-proxy

How is `KUBERNETES_PORT_443_TCP_ADDR` being set? Any pointers to Kubernetes source code?

UFW occasionally blocking HTTPS (443/TCP) although configured to allow that port on Ubuntu 16.04

Which VCenter Server Applience 5.5 service should be running on 443/tcp port?

Azure sql port 443

Https alternative port for 443

Apache not listening on port 443

How to disable ssl certificate and only used to forward traffic on port 443 in Nginx?

How to expose kubernetes nginx-ingress service on public node IP at port 80 / 443?

How can a single nginx virtual server deal with both port 80 and 443?

Trying to get nginx proxy to work on port 80 and 443 for node.js with docker

Danger of reverse proxying with nginx 80 and 443 to a node process listening on port 3000?

Configure TCP Port on Nginx Ingress on Azure Kubernetes Cluster (AKS)

redirect 81 to 443 in nginx

How to make nginx print full log for tcp stream

443 port is attached to hostname for no reason

SSH vs Apache port 443

Cannot open port 443 on modem

Kubernetes manifest on Azure for port 443

Destination IP for port 443 (HTTPs)

Is it bad to port forward port 443 for ssh?

Configured nginx as reverse proxy on ports 80 and 443 for webapp running on 8000. How do I disable connections to port 8000?

SSL not working on nginx 443 configuration

HAproxy port 80 and 443 to backend:80 and backend:443

How to expose postgres tcp port using Docker Desktop for Windows Kubernetes and ingress-nginx