Skip to content

Commit

Permalink
Merge pull request #11874 from Security-Onion-Solutions/23souphs
Browse files Browse the repository at this point in the history
so-nginx watch managerssl to restart if changed
  • Loading branch information
m0duspwnens authored Nov 27, 2023
2 parents f967c8e + 7311d64 commit cec6cff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/nginx/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ so-nginx:
- watch:
- file: nginxconf
- file: nginxconfdir
{% if grains.role in ['so-manager', 'so-managersearch', 'so-eval', 'so-standalone', 'so-import', 'so-fleet'] %}
- x509: managerssl_key
- x509: managerssl_crt
{% endif %}
- require:
- file: nginxconf
{% if grains.role in ['so-manager', 'so-managersearch', 'so-eval', 'so-standalone', 'so-import', 'so-fleet'] %}
Expand Down

0 comments on commit cec6cff

Please sign in to comment.