ansible-personal/roles/nginx/templates
Alan Orth 934db06887 roles/nginx: Add HTTP Strict Transport Security headers to PHP block
nginx blocks inherit headers set in blocks above them UNLESS the
current level also sets headers[0]. This was causing PHP requests
to not have STS headers because of the FastCGI cache header which
is set in that block.

[0] http://nginx.org/en/docs/http/ngx_http_headers_module.html

Fixes GitHub #7.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-03-19 09:30:26 +03:00
..
https.j2 Revert "roles/nginx: Correct HSTS header in https template" 2015-03-18 18:33:19 +03:00
vhost.conf.j2 roles/nginx: Add HTTP Strict Transport Security headers to PHP block 2015-03-19 09:30:26 +03:00
wordpress.j2 roles/nginx: Add protection for PHP scripts in uploads directory 2015-02-26 17:05:50 +03:00