The
preload directive is by default not included when using HSTS.
We can make it possible to include the
preload directive when using HSTS, so that the domain can be included in Chrome's HSTS preload list.
What is HSTS Preloading:HSTS Preloading is a mechanism whereby a list of hosts that wish to enforce the use of SSL/TLS on their site is built into a browser. This list is compiled by Google and is utilized by Chrome, Firefox, and Safari. These sites do not depend on the issuing of the HSTS response header to enforce the policy, instead, the browser is already aware that the host requires the use of SSL/TLS before any connection or communication even takes place. This removes the opportunity an attacker has to intercept and tamper with redirects that take place over HTTP. This isn't to say that the host needs to stop issuing the HSTS response header, this must be left in place for those browsers that don't use preloaded HSTS lists.
More Info:https://hstspreload.org/https://scotthelme.co.uk/hsts-preloading/