mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
strict transport policy heaer
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<!--
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self' *.mcaptcha.org mcaptcha.org mcaptcha.io *.mcaptcha.io; img-src 'self'; style-src 'self'; child-src 'none'; script-src 'self';"
|
||||
/>
|
||||
-->
|
||||
|
||||
3
templates/components/headers/https.html
Normal file
3
templates/components/headers/https.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<meta
|
||||
http-equiv="Strict-Transport-Security" content="max-age=63072000"
|
||||
/>
|
||||
@@ -4,5 +4,8 @@
|
||||
<. include!("./preview-data.html"); .>
|
||||
<. include!("./favicon.html"); .>
|
||||
<. include!("./csp.html"); .>
|
||||
<. if crate::SETTINGS.server.proxy_has_tls { .>
|
||||
<. include!("./https.html"); .>
|
||||
<. } .>
|
||||
</head>
|
||||
<body class="layout">
|
||||
|
||||
Reference in New Issue
Block a user