mirror of https://github.com/apache/activemq.git
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:
commit
2fc07ac39a
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue