self-hosted-simplelogin
self-hosted-simplelogin copied to clipboard
Simplify traefik config
In commit https://github.com/springcomp/self-hosted-simplelogin/commit/3471bb9842112cc2c475a1c8042e9148f5243f9, HSTS configuration is fixed/correctly enabled, but this is implemented via a "local file". This way increases the complexity of the configuration. Furthermore, HSTS is enabled via the entrypoint, which then automatically applies to all services (even other domains) on this host – this may not be desired.
This PR changes all simple-login relating traefik configuration back to labels, and fixes HSTS configuration/activation via explicitely forcing this middleware also for the subdomain.