Merge pull request #16 from nginxinc/(bug)/only-deploy-api-when-enabled
Add conditional check
This commit is contained in:
commit
4fa9a51718
@ -1,3 +1,4 @@
|
||||
{% if rest_api_enable %}
|
||||
server {
|
||||
listen 8080;
|
||||
location /api {
|
||||
@ -13,3 +14,4 @@ server {
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user