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 = {