Currently trying to get my head wrapped around NGINX. What do i do wrong?
I've been trying to learn NGINX for a bit now. I tried to make a simple configuration to redirect a subdomain to a specific IP:PORT. However, I fail to manage to make it work properly. Currently, NGINX seems to redirect every request coming into the server to that specific IP:PORT, while also returning the internal IP of the server instead of the proper domain name.
Here's the config :
worker_processes 1;
events { worker_connections 1024; }
http { server { listen 80; server_name service.domain.info;
I guess https://192.168.1.55:444 has no valid certificate. You can proxy_pass to http port 80. Alternatively, set up your domain to resolve to 192.168.1.55 for your internal network and use stream proxy or proxy_protocol with valid certificate.