]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ansible: set HSTS header in nginx 191/head
authorKen Dreyer <kdreyer@redhat.com>
Thu, 29 Oct 2015 20:14:22 +0000 (14:14 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Thu, 29 Oct 2015 20:19:16 +0000 (14:19 -0600)
commitcfe3a8455d376766f6352f7fd34d439ad6485a39
tree9dc0261b2db9e0ac5adcfb0b9a4de95230a818a2
parenta234bb530c977b3a7cb0b38e7d067ababac8a15c
ansible: set HSTS header in nginx

This will cause a browser to automatically load the "https://" URL when
the user enters "jenkins.ceph.com" into the browser.

We are using HTTP redirects from HTTP -> HTTPS already on
jenkins.ceph.com, but this change should make it a bit more secure.

See https://www.owasp.org/index.php/HTTP_Strict_Transport_Security for
more information
ansible/roles/ansible-jenkins/templates/jenkins.conf