Access policy handling snippet for proxy.conf and static.conf
diff --git a/README.rst b/README.rst
index 80bc797..d11cbfa 100644
--- a/README.rst
+++ b/README.rst
@@ -52,6 +52,28 @@
name: gitlab.domain.com
port: 80
+Static site with access policy
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ site:
+ nginx_static_site01:
+ enabled: true
+ type: static
+ name: site01
+ access_policy:
+ allow:
+ - 192.168.1.1/24
+ - 127.0.0.1
+ deny:
+ - 192.168.1.2
+ - all
+ host:
+ name: gitlab.domain.com
+ port: 80
+
Simple HTTP proxy
.. code-block:: yaml
@@ -114,6 +136,32 @@
name: gitlab.domain.com
port: 80
+Proxy with access policy
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ site:
+ nginx_proxy_site01:
+ enabled: true
+ type: proxy
+ name: site01
+ access_policy:
+ allow:
+ - 192.168.1.1/24
+ - 127.0.0.1
+ deny:
+ - 192.168.1.2
+ - all
+ proxy:
+ host: local.domain.com
+ port: 80
+ protocol: http
+ host:
+ name: gitlab.domain.com
+ port: 80
+
Gitlab server with user for basic auth
.. code-block:: yaml