From d1236d6e25f9d6f37706237c4cb8aa4f53d4cd1b Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 1 Jun 2020 13:35:54 +0200 Subject: [PATCH] bundles/nginx: add stub_status --- bundles/nginx/files/stub_status | 6 ++++++ bundles/nginx/items.py | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 bundles/nginx/files/stub_status diff --git a/bundles/nginx/files/stub_status b/bundles/nginx/files/stub_status new file mode 100644 index 0000000..9769a0c --- /dev/null +++ b/bundles/nginx/files/stub_status @@ -0,0 +1,6 @@ +server { + listen [::1]:8080 default_server; + server_name _; + + stub_status; +} diff --git a/bundles/nginx/items.py b/bundles/nginx/items.py index 9408d9f..694ad61 100644 --- a/bundles/nginx/items.py +++ b/bundles/nginx/items.py @@ -17,6 +17,11 @@ files = { 'svc_systemd:nginx:restart', }, }, + '/etc/nginx/sites/stub_status': { + 'triggers': { + 'svc_systemd:nginx:restart', + }, + }, } svc_systemd = {