Source Code for the Home Server setup. This includes the git server hosting this repository as well. #terraform #docker https://git.captnemo.in/nemo/nebula/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
653 B

3 years ago
3 years ago
3 years ago
  1. locals {
  2. traefik_common_labels {
  3. "traefik.enable" = "true"
  4. // HSTS
  5. "traefik.frontend.headers.SSLTemporaryRedirect" = "true"
  6. "traefik.frontend.headers.STSSeconds" = "2592000"
  7. "traefik.frontend.headers.STSIncludeSubdomains" = "false"
  8. // X-Powered-By, Server headers
  9. "traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
  10. // X-Frame-Options
  11. "traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
  12. "traefik.frontend.headers.contentTypeNosniff" = "true"
  13. "traefik.frontend.headers.browserXSSFilter" = "true"
  14. "traefik.docker.network" = "traefik"
  15. }
  16. }