We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839bb10 commit 306be1dCopy full SHA for 306be1d
1 file changed
Caddyfile
@@ -1,9 +1,19 @@
1
{
2
- http_port {$PORT}
+ http_port {$PORT}
3
}
4
5
-localhost:{$PORT} {
6
- encode gzip
7
- log stdout
8
- file_server
9
-}
+:{$PORT}, localhost:{$PORT} {
+ log stdout
+ file_server {
+ root /srv
+ }
10
+
11
+ header / {
12
+ X-Content-Type-Options "nosniff"
13
+ X-XSS-Protection "1; mode=block"
14
+ X-Robots-Tag "none"
15
+ X-Download-Options "noopen"
16
+ X-Permitted-Cross-Domain-Policies "none"
17
+ Referrer-Policy "no-referrer"
18
19
+}
0 commit comments