Posted By

inthewayboy on 04/04/11


Tagged

nginx


Versions (?)

nginx rpoxy - site config


 / Published in: Other
 

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.

  1. server {
  2. listen 80;
  3. server_name $fqdn;
  4. access_log /var/log/nginx/$fqdn.access.log;
  5. location / {
  6. proxy_pass http://192.168.1.xxx/;
  7. include /etc/nginx/proxy.conf;
  8. }
  9. }

Report this snippet  

You need to login to post a comment.