mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-10 01:17:43 +01:00
15 lines
219 B
Text
15 lines
219 B
Text
|
server {
|
||
|
listen {{ http_port }} default_server;
|
||
|
|
||
|
root /var/www/html;
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
{% if status_url is defined -%}
|
||
|
location /{{ status_url | default('status') }} {
|
||
|
stub_status on;
|
||
|
}
|
||
|
{%- endif %}
|
||
|
}
|
||
|
|