mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-14 11:08:16 +01:00
23 lines
377 B
Django/Jinja
23 lines
377 B
Django/Jinja
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 %}
|
|
|
|
|
|
index index.php index.html index.htm;
|
|
|
|
location ~ \.php$ {
|
|
include snippets/fastcgi-php.conf;
|
|
fastcgi_pass unix:/var/run/php/php-fpm.sock;
|
|
}
|
|
|
|
}
|
|
|