HomeDevCentral

Reload nginx after any configuration file is updated

Description

Reload nginx after any configuration file is updated

Summary:
Currently, only nginx.conf triggers a nginx reload.

Yet, we can add a new configuration file, e.g. for a new vhost
or amend an existing one, and that should trigger a reload too.

Fixes T1185.

Test Plan: Change configuration (e.g. D956) and ensure it works

Reviewers: jokerozen, Sandlayth, dereckson

Reviewed By: dereckson

Maniphest Tasks: T1185

Differential Revision: https://devcentral.nasqueron.org/D955

Details

Provenance
derecksonAuthored on Apr 20 2017, 08:11
derecksonPushed on Apr 20 2017, 10:02
Reviewer
dereckson
Differential Revision
D955: Reload nginx after any configuration file is updated
Parents
rOPS8e936b21fecc: Add a new vhost for kerozen's FB Bot
Branches
Unknown
Tags
Unknown
Tasks
T1185: Restart nginx when configuration sls are amended on Eglide