Reload nginx configuration

前端 未结 2 1086
眼角桃花
眼角桃花 2020-12-09 14:34

I am trying to make modification in the Nginx conf file to remove a \"rewrite\".

Now I have this configuration file:

worker_processes  1;

events {
          


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 15:08

    Maybe you're not doing it as root?

    Try sudo nginx -s reload, if it still doesn't work, you might want to try sudo pkill -HUP nginx.

提交回复
热议问题