minor comments

This commit is contained in:
Nemo 2018-01-06 13:09:21 +05:30
parent 57ffe866a3
commit 3fc9b585f1
1 changed files with 3 additions and 0 deletions

View File

@ -1,10 +1,13 @@
locals {
traefik_common_labels {
"traefik.enable" = "true"
// HSTS
"traefik.frontend.headers.SSLTemporaryRedirect" = "true"
"traefik.frontend.headers.STSSeconds" = "2592000"
"traefik.frontend.headers.STSIncludeSubdomains" = "false"
// X-Powered-By, Server headers
"traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
// X-Frame-Options
"traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
"traefik.frontend.headers.contentTypeNosniff" = "true"
"traefik.frontend.headers.browserXSSFilter" = "true"