ansible-nginx/templates/etc/nginx/sites-available/simple-php.j2

20 lines
321 B
Django/Jinja

#
# {{ ansible_managed }}
#
server {
{% include 'COMMON.j2' %}
index index.htm index.html index.php;
location / {
try_files $uri $uri/ /index.php;
}
include /etc/nginx/helpers/php;
include /etc/nginx/helpers/no-ht;
include /etc/nginx/helpers/static-expires;
}
{% include 'REDIRECT.j2' %}
# vim:filetype=nginx