Set cache-control to no-store by default for stronger security

This commit is contained in:
Ken Liao 2024-08-22 22:11:29 -07:00
parent e45ee4aae5
commit 2dab16172e
1 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,11 @@
<property name="name" value="X-Content-Type-Options"/>
<property name="value" value="nosniff"/>
</bean>
<bean id="header" class="org.eclipse.jetty.rewrite.handler.HeaderPatternRule">
<property name="pattern" value="*"/>
<property name="name" value="Cache-Control"/>
<property name="value" value="no-store"/>
</bean>
</list>
</property>
</bean>