skip to Main Content

Forward nginx 8080 port to 80

I have a server with multiple nginx instances One of them is running at 8080 server { listen 8080; server_name myip v2.example.com www.v2.example.com; #charset koi8-r; #access_log /var/log/nginx/host.access.log main; location / { root /usr/share/nginx/html; index index.html index.htm; proxy_pass http://v2.example.com:8080/; } error_page…

VIEW QUESTION

NGINX : Using Upstream server name

I am running nginx/1.19.6 on Ubuntu. I am struggling to get the upstream module to work without returning a 404. My *.conf files are located in /etc/nginx/conf.d/ FILE factory_upstream.conf: upstream factoryserver { server factory.service.corp.com:443; } FILE factory_service.conf: server { listen…

VIEW QUESTION
Back To Top
Search