CS-Notes/docs/_style/prism-master/examples/prism-hsts.html

9 lines
286 B
Java
Raw Normal View History

2018-12-19 14:09:39 +08:00
<h2>Policy with far-future max-age</h2>
<pre><code>max-age=31536000</code></pre>
<h2>Policy with near-future max-age, considered unsafe</h2>
<pre><code>max-age=123</code></pre>
<h2>Policy with extra directives</h2>
<pre><code>max-age=31536000; includeSubdomains; preload</code></pre>