Open rocketeerbkw opened 1 year ago
Routes could be configured to return the HSTS header by using the hsts field. The format was:
hsts
environments: main: routes: - nginx: - "www.example.com": hsts: max-age=31536000
HSTS is still supported, but the field names have changed, so existing hsts fields should throw a deprecation.
The linter has a deprecated profile for this purpose (it can already check for monitoring URLs).
deprecated
See https://github.com/uselagoon/lagoon-linter/pull/14#issuecomment-960530253
The same goes for #22 and #23.
Routes could be configured to return the HSTS header by using the
hsts
field. The format was:HSTS is still supported, but the field names have changed, so existing
hsts
fields should throw a deprecation.