[BUG]nginx can't restart.
Posted: Mon Feb 13, 2017 11:09 am
I switch the proxy of a web to "cache" and save,and then switch it to "default" and save,and then switch it to "cache" and save again.There got a error "nginx can't restart".
I ran the command "service nginx restart",it noticed that
It seems like that there is a duplicate line in that file which cause this error.
I ran the command "service nginx restart",it noticed that
Code: Select all
nginx: [emerg] the same path name "/var/cache/nginx/xxx.com" used in /etc/nginx/conf.d/01_caching_pool.conf:2 and in /etc/nginx/conf.d/01_caching_pool.conf:3