Skip to primary content

42

Web notebook about thoughts and discoveries in DevOps, SRE, Software Engineering….

42

Main menu

  • Home
  • About
  • contact
  • Links

Post navigation

← Previous Next →

Reload NGINX configuration

Posted on 23 February 2018 by kosmas

Problem

You have made some changes to the NGINX configuration and you would like to reload them without stopping and starting the server.

Solution

Use the following:

kill -HUP $(cat /var/run/nginx.pid)
This entry was posted in Debian, linux, NGINX, Ubuntu/Debian and tagged configuration, linux, NGINX by kosmas. Bookmark the permalink.
Proudly powered by WordPress