Merge pull request #16 from nginxinc/(bug)/only-deploy-api-when-enabled

Add conditional check
This commit is contained in:
Alessandro Fael Garcia 2018-04-05 16:05:05 -07:00 committed by GitHub
commit 4fa9a51718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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