diff --git a/templates/http/api.conf.j2 b/templates/http/api.conf.j2 index 7d0885b..9b72fe6 100644 --- a/templates/http/api.conf.j2 +++ b/templates/http/api.conf.j2 @@ -1,3 +1,4 @@ +{% if rest_api_enable %} server { listen 8080; location /api { @@ -13,3 +14,4 @@ server { } {% endif %} } +{% endif %}