diff --git a/docker/locals.tf b/docker/locals.tf index ef49019..10ffd80 100644 --- a/docker/locals.tf +++ b/docker/locals.tf @@ -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"