Skip to content

Commit

Permalink
add hsts default values in cdap-default.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
sumengwang committed Aug 7, 2023
1 parent 046ecdd commit c9889ac
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions cdap-common/src/main/resources/cdap-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6020,4 +6020,36 @@
</description>
</property>

<property>
<name>hsts.enabled</name>
<value>false</value>
<description>
Whether to enable HSTS settings on UI node server.
</description>
</property>

<property>
<name>hsts.max.age</name>
<value>31536000</value>
<description>
The number of seconds browsers should remember to prefer HTTPS.
</description>
</property>

<property>
<name>hsts.include.sub.domains</name>
<value>true</value>
<description>
Whether to include the includeSubDomains directive, which makes this policy extend to subdomains.
</description>
</property>

<property>
<name>hsts.preload</name>
<value>true</value>
<description>
Adds the preload directive, expressing intent to add your HSTS policy to browsers.
</description>
</property>

</configuration>

0 comments on commit c9889ac

Please sign in to comment.