Skip to content

Instantly share code, notes, and snippets.

@mwangaben
Forked from sun4lower/NginxReloadBug
Created June 14, 2020 03:03
Show Gist options
  • Save mwangaben/e88916697ca6fa79fac0febc97be2aba to your computer and use it in GitHub Desktop.
Save mwangaben/e88916697ca6fa79fac0febc97be2aba 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
@mwangaben
Copy link
Author

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment