Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 19th, 2011  |  syntax: None  |  size: 1.48 KB  |  views: 408  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. /etc/nginx/nginx.conf.default:        listen       192.168.5.1:80;
  2. /etc/nginx/nginx.conf.default:        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
  3. /etc/nginx/nginx.conf.default:    #    listen       8000;
  4. /etc/nginx/nginx.conf.default:    #    listen       somename:8080;
  5. /etc/nginx/conf.d/mirror.conf:        listen       192.168.5.1:80;
  6. /etc/nginx/conf.d/mirror.conf:        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
  7. /etc/nginx/conf.d/virtual.conf:#    listen       8000;
  8. /etc/nginx/conf.d/virtual.conf:#    listen       somename:8080;
  9. /etc/nginx/conf.d/video.conf:        listen       192.168.5.1:80;
  10. /etc/nginx/conf.d/video.conf:        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
  11. /etc/nginx/conf.d/kaki.conf:        listen       192.168.5.1:80;
  12. /etc/nginx/conf.d/kaki.conf:        # proxy the PHP scripts to Apache listening on 127.0.0.1:80
  13. /etc/nginx/nginx.conf:        listen       192.168.5.1:80;
  14.  
  15.  
  16. [root@kaki ~]# nginx -t
  17. the configuration file /etc/nginx/nginx.conf syntax is ok
  18. configuration file /etc/nginx/nginx.conf test is successful
  19. [root@kaki ~]# service nginx restart
  20. Stopping nginx:                                            [  OK  ]
  21. Starting nginx:                                            [  OK  ]
  22. [root@kaki ~]# lsof -i :80
  23. COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
  24. nginx   4218  root    6u  IPv4 296083      0t0  TCP *:http (LISTEN)
  25. nginx   4219 nginx    6u  IPv4 296083      0t0  TCP *:http (LISTEN)
clone this paste RAW Paste Data