Add security headers

This commit is contained in:
Joey Hafner 2023-02-15 11:45:24 -08:00
parent 83a2d22103
commit 9bc605c296

View File

@ -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: