correction syntaxe
[lhc/ansible.git] / templates / nginx_www_common.j2
1 server_name
2 {{ DOMAIN }}.{{ TLD }}
3 {{ config_ss_domain }}.{{ DOMAIN }}.{{ TLD }};
4 rewrite ^/(.*) http://{{ config_ss_domain }}.{{ DOMAIN }}.{{ TLD }}/$1 permanent;
5 root /home/sites/data/{{ TLD }}/{{ DOMAIN }}/{{ SITE }}/;
6 index index.html;
7
8 client_body_buffer_size 8k;
9 client_max_body_size 10m;
10
11 error_page 404 404.html;