Skip to content

Instantly share code, notes, and snippets.

@sefacan
Forked from sun4lower/NginxReloadBug
Created September 24, 2020 14:08
Show Gist options
  • Save sefacan/78747cb067e669511a352bed794c3bf8 to your computer and use it in GitHub Desktop.
Save sefacan/78747cb067e669511a352bed794c3bf8 to your computer and use it in GitHub Desktop.
nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
pkill -9 nginx
nginx -c /etc/nginx/nginx.conf
nginx -s reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment