Posts Tagged: iis

Nginx Reverse Proxy

centos logo

Using CentOS 6 I installed Nginx with: yum install nginx and amended the config file for the default website i.e. vi /etc/nginx/conf.d/default.conf With the following content: upstream backend_st { server st.domain.co.uk:80; } server { listen 123.123.123.123:8080; server_name frontend.domain.co.uk; include /etc/nginx/default.d/*.conf; access_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.access.log main; error_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.error.log; root /usr/share/nginx/html; index index.html index.htm; location / { proxy_pass http://backend_st;… Read more »