X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fother%2Fnginx-virtual-host.twig;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fother%2Fnginx-virtual-host.twig;h=e40d39ddea844f51567ffc09f8f7f85474cb09a5;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=110acbbe8d142fc315e6615733dd261cbb0623a9;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig b/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig index 110acbbe8..e40d39dde 100644 --- a/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig +++ b/vendor/chi-teck/drupal-code-generator/templates/other/nginx-virtual-host.twig @@ -8,7 +8,7 @@ server { server_name {{ server_name }}; root {{ docroot }}; - + client_max_body_size 16m; location = /favicon.ico { @@ -37,7 +37,7 @@ server { } {% endif %} - # Allow "Well-Known URIs" as per RFC 5785 + # Allow "Well-Known URIs" as per RFC 5785. location ~* ^/.well-known/ { allow all; } @@ -52,7 +52,7 @@ server { location / { try_files $uri /index.php?$query_string; } - + location @rewrite { rewrite ^/(.*)$ /index.php?q=$1; }