Deprecating stats.conf in favor of static type:
* root can be disabled
* log can be disabled
* indexes could be disabled
* stats vhost can now
- be binded
- use ssl
- use access list
using static type
* stats.conf now is deprecated
Change-Id: Iffd91b80df1f576d10e7e15675d95ffa46fe6485
diff --git a/README.rst b/README.rst
index 927eaaf..eadade3 100644
--- a/README.rst
+++ b/README.rst
@@ -499,7 +499,43 @@
enabled: true
value: '$server_port'
-Nginx stats server (required by collectd nginx plugin):
+Define site catalog indexes:
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_catalog:
+ enabled: true
+ type: nginx_static
+ name: server
+ indexes:
+ - index.htm
+ - index.html
+ host:
+ name: 127.0.0.1
+ port: 80
+
+Define site catalog autoindex:
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_catalog:
+ enabled: true
+ type: nginx_static
+ name: server
+ autoindex: True
+ host:
+ name: 127.0.0.1
+ port: 80
+
+Nginx stats server (required by collectd nginx plugin) (DEPRECATED):
.. code-block:: yaml
@@ -515,6 +551,26 @@
name: 127.0.0.1
port: 8888
+or:
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_stats_server:
+ enabled: true
+ root: disabled
+ indexes: []
+ stats: True
+ type: nginx_static
+ name: stat_server
+ host:
+ name: 127.0.0.1
+ address: 127.0.0.1
+ port: 8888
+
Nginx configured to wait for another service/s before
starting (currently only with systemd):