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

20 lines
321 B
Plaintext
Raw Normal View History

2015-07-15 20:18:51 +07:00
#
# {{ 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