From 9bc605c296899b37d19b32f8ad1259a47f22336e Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Wed, 15 Feb 2023 11:45:24 -0800 Subject: [PATCH] Add security headers --- homelab/server/config/unifi_controller/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homelab/server/config/unifi_controller/docker-compose.yml b/homelab/server/config/unifi_controller/docker-compose.yml index 166c8e28..7cd03407 100644 --- a/homelab/server/config/unifi_controller/docker-compose.yml +++ b/homelab/server/config/unifi_controller/docker-compose.yml @@ -31,7 +31,7 @@ services: labels: - traefik.http.routers.unifi.rule=Host(`unifi.jafner.net`) - traefik.http.routers.unifi.tls.certresolver=lets-encrypt - - traefik.http.routers.unifi.middlewares=lan-only@file + - traefik.http.routers.unifi.middlewares=lan-only@file,securityheaders@file - traefik.http.services.unifi.loadbalancer.server.port=8443 networks: