Add conditional check

This conditional ensures that the NGINX API will only be deployed if enabled
This commit is contained in:
Alessandro Fael Garcia 2018-04-05 14:50:53 -07:00
parent 714b2aac4e
commit e80ab120b7

View File

@ -1,3 +1,4 @@
{% if rest_api_enable %}
server {
listen 8080;
location /api {
@ -13,3 +14,4 @@ server {
}
{% endif %}
}
{% endif %}