Advertisement
Guest User

Untitled

a guest
Apr 19th, 2011
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement