This enables the HSTS header by default when an SSL certificate is in use. HSTS options can also be managed via the nginx:set command, which also exposes the ability to disable HSTS for your application.
This allows users to handle mulitple interfaces separately or even ensure applications remain accessible only on a local network. Closes #3805