Thanks for the report. Currently, we are only inserting (not replacing) the HSTS headers, as we are not aware that some frameworks add it by default. We will consider rewriting the header always, since duplicate headers probably do not make sense, and the default value is suitable for most use cases.
At the moment: Can you disable the installation of HSTS in Spring Boot? According to Spring's boot docs, you can disable it with this snippet:
@EnableWebSecurity public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http
Refresh . We will change this soon: Appcloud will set the title if the application has not already installed it. Therefore, we leave the choice to the developer if and how he wants to implement HSTS, but he will provide it by default.
Update 2 : new behavior in place.
source share