Add custom headers in vhost (moved from ssl helpers)

This commit is contained in:
Emilien Mantel
2016-03-15 10:51:14 +01:00
parent d223f8b144
commit 2ba906be2e
5 changed files with 11 additions and 5 deletions

View File

@@ -107,11 +107,13 @@
template: '_base'
filename : 'first-test'
override_try_files: '$uri $uri index.htm index.html'
headers:
'X-Frame-Options': 'deny'
'X-ansible-default': '1'
manage_local_content: false
use_error_log: false
more:
- 'autoindex off;'
- 'add_header X-ansible-default 1;'
location:
'/test':
- 'return 403;'