Add nginx_prune_sites to remove sites dropped from nginx_sites

This commit is contained in:
2026-07-08 13:00:46 -04:00
parent 72b96c06a4
commit 5aaf1fd9bf
3 changed files with 55 additions and 5 deletions
+5
View File
@@ -10,6 +10,11 @@ nginx_conf_d_path: /etc/nginx/conf.d
nginx_delete_default_site_config: false
nginx_site_config_extra_options: ""
# When true, any file in nginx_site_config_path or nginx_site_enabled_path
# whose basename is not listed in nginx_sites will be removed. Off by
# default so hand-placed configs aren't wiped by a role run.
nginx_prune_sites: false
# Default SSL cert used by all sites unless overridden per-site
# via item.ssl_certificate / item.ssl_certificate_key. Points at the
# Debian snakeoil cert (shipped by the ssl-cert package, an nginx dep)