From 2d72dff82bdcf9c0d30f6735c315a655ebea483d Mon Sep 17 00:00:00 2001 From: Yoda-BZH Date: Wed, 20 Oct 2021 11:15:54 +0200 Subject: [PATCH] docs(readme): document vhosts clean/cleanup Linked to #372 Properly document ``apache.config.vhosts.clean`` and ``apache.config.vhosts.cleanup``, and the differences between them. --- docs/README.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/README.rst b/docs/README.rst index 7570b9e..f0c111b 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -299,6 +299,17 @@ Example Pillar: SSLCertificateKeyFile: /path/to/ssl.key SSLCertificateChainFile: /path/to/ssl.ca.crt +``apache.config.vhosts.clean`` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Remove non-declared virtual hosts, and deactivates the service. + +``apache.config.vhosts.cleanup`` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Remove non-declared virtual hosts, but keeps the service running. + + Testing -------