tf fmt
This commit is contained in:
parent
0727981d59
commit
63bca598d4
|
@ -1,12 +1,15 @@
|
||||||
locals {
|
locals {
|
||||||
traefik_common_labels {
|
traefik_common_labels {
|
||||||
"traefik.enable" = "true"
|
"traefik.enable" = "true"
|
||||||
|
|
||||||
// HSTS
|
// HSTS
|
||||||
"traefik.frontend.headers.SSLTemporaryRedirect" = "true"
|
"traefik.frontend.headers.SSLTemporaryRedirect" = "true"
|
||||||
"traefik.frontend.headers.STSSeconds" = "2592000"
|
"traefik.frontend.headers.STSSeconds" = "2592000"
|
||||||
"traefik.frontend.headers.STSIncludeSubdomains" = "false"
|
"traefik.frontend.headers.STSIncludeSubdomains" = "false"
|
||||||
|
|
||||||
// X-Powered-By, Server headers
|
// X-Powered-By, Server headers
|
||||||
"traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
|
"traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
|
||||||
|
|
||||||
// X-Frame-Options
|
// X-Frame-Options
|
||||||
"traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
|
"traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
|
||||||
"traefik.frontend.headers.contentTypeNosniff" = "true"
|
"traefik.frontend.headers.contentTypeNosniff" = "true"
|
||||||
|
|
Loading…
Reference in New Issue