Merge pull request #1287 from kenliao94/add_security_header_v2

[AMQ-9545] Set cache-control to no-store by default for stronger security
This commit is contained in:
JB Onofré 2024-09-10 09:26:04 +02:00 committed by GitHub
commit 2fc07ac39a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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="name" value="X-Content-Type-Options"/>
<property name="value" value="nosniff"/> <property name="value" value="nosniff"/>
</bean> </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> </list>
</property> </property>
</bean> </bean>