Return to Snippet

Revision: 43987
at April 4, 2011 23:10 by inthewayboy


Initial Code
server {
        listen   80;
        server_name  $fqdn;
        access_log  /var/log/nginx/$fqdn.access.log;
        location / {
                proxy_pass      http://192.168.1.xxx/;
                include         /etc/nginx/proxy.conf;
        }
}

Initial URL


Initial Description
Create one of these per site, making sure to adjust the values...$fdqn should be replaced with the dns name being processed, and http://192.168.1.xxx/ should be replaced with the internal address of the server hosting that site.

Initial Title
nginx rpoxy - site config

Initial Tags


Initial Language
Other