ansible-personal/roles/nginx/templates
Alan Orth 52dc0c357b
roles/nginx: Add HSTS check to vhost template
We need to actually check if HSTS was requested before setting the
header in the block handing PHP requests. We check in the main vhost
block, but nginx headers are only inherited if you don't set ANY
headers in child blocks (ie, headers set in parent blocks are cleared
if you set any new ones in the child).

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2015-09-27 00:27:41 +03:00
..
blank-vhost.conf.j2 roles/nginx: SPDY -> HTTP/2 2015-09-22 19:40:30 +03:00
https.j2 roles/nginx: Move HTTP Strict Transport Security toggle to vhosts 2015-09-27 00:24:58 +03:00
nginx_org_sources.list.j2 roles/nginx: Rename nginx sources.list template 2015-08-23 13:24:43 +03:00
vhost.conf.j2 roles/nginx: Add HSTS check to vhost template 2015-09-27 00:27:41 +03:00
wordpress.j2 roles/nginx: Add protection for PHP scripts in uploads directory 2015-02-26 17:05:50 +03:00