Add conditional check
This conditional ensures that the NGINX API will only be deployed if enabled
This commit is contained in:
parent
714b2aac4e
commit
e80ab120b7
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user