Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /etc/nginx/nginx.conf.default: listen 192.168.5.1:80;
- /etc/nginx/nginx.conf.default: # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- /etc/nginx/nginx.conf.default: # listen 8000;
- /etc/nginx/nginx.conf.default: # listen somename:8080;
- /etc/nginx/conf.d/mirror.conf: listen 192.168.5.1:80;
- /etc/nginx/conf.d/mirror.conf: # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- /etc/nginx/conf.d/virtual.conf:# listen 8000;
- /etc/nginx/conf.d/virtual.conf:# listen somename:8080;
- /etc/nginx/conf.d/video.conf: listen 192.168.5.1:80;
- /etc/nginx/conf.d/video.conf: # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- /etc/nginx/conf.d/kaki.conf: listen 192.168.5.1:80;
- /etc/nginx/conf.d/kaki.conf: # proxy the PHP scripts to Apache listening on 127.0.0.1:80
- /etc/nginx/nginx.conf: listen 192.168.5.1:80;
- [root@kaki ~]# nginx -t
- the configuration file /etc/nginx/nginx.conf syntax is ok
- configuration file /etc/nginx/nginx.conf test is successful
- [root@kaki ~]# service nginx restart
- Stopping nginx: [ OK ]
- Starting nginx: [ OK ]
- [root@kaki ~]# lsof -i :80
- COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
- nginx 4218 root 6u IPv4 296083 0t0 TCP *:http (LISTEN)
- nginx 4219 nginx 6u IPv4 296083 0t0 TCP *:http (LISTEN)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement