Advertisement
sandyd

Untitled

Jul 18th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. server {
  2.  
  3. #replace <your_ip_here> with your ip address.
  4. listen <your_ip_here>:80; ## listen for ipv4; this line is default and implied
  5. #listen [::]:80 default ipv6only=on; ## listen for ipv6
  6.  
  7. #location of your files
  8. root /srv;
  9. index index.html index.htm;
  10.  
  11. # The name of your domain (virtual hosts)
  12. server_name localhost;
  13. location / {
  14. proxy_pass http://127.0.0.1:8000;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement