ansible-personal/roles/nginx
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
..
defaults Downgrade TLS configuration to Mozilla's "intermediate" spec 2014-10-09 21:09:18 +03:00
files roles/nginx: Move some common fastcgi settings out of vhost template 2015-03-10 11:59:43 +03:00
handlers Initial commit 2014-08-17 00:35:57 +03:00
tasks roles/nginx: Add task to clone WordPress git 2015-02-26 17:39:17 +03:00
templates roles/nginx: Add HTTP Strict Transport Security headers to PHP block 2015-03-19 09:30:26 +03:00