diff --git a/states/nginx/templates/types/simple.j2 b/states/nginx/templates/types/simple.j2 index 107dbcf..26d7568 100644 --- a/states/nginx/templates/types/simple.j2 +++ b/states/nginx/templates/types/simple.j2 @@ -8,6 +8,9 @@ server { server { include https; + {%- if internal_access %} + include access; + {%- endif %} server_name {{ vhost_name }}; {%- if not proxy %} root {{ root_dir }};