You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
Caddyfile
34 lines
1.0 KiB
Caddyfile
3 years ago
|
copincha.org {
|
||
|
root * /var/www
|
||
|
encode gzip
|
||
|
file_server
|
||
|
}
|
||
|
|
||
|
wiki.copincha.org {
|
||
|
root * /var/wiki
|
||
|
encode gzip
|
||
|
file_server
|
||
|
}
|
||
|
|
||
|
docs.copincha.org {
|
||
|
reverse_proxy localhost:3000
|
||
|
}
|
||
|
|
||
|
git.copincha.org {
|
||
|
reverse_proxy localhost:9000
|
||
|
}
|
||
|
|
||
|
fossil.copincha.org {
|
||
|
reverse_proxy localhost:9001
|
||
|
header {
|
||
|
X-XSS-Protection "1; mode=block"
|
||
|
X-Content-Type-Options "nosniff"
|
||
|
X-Frame-Options "DENY"
|
||
|
Referrer-Policy "no-referrer"
|
||
|
Content-Security-Policy "default-src 'none'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; img-src https:; font-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'none'; form-action 'self'; worker-src 'none'; frame-src https://youtube-nocookie.com;"
|
||
|
Feature-Policy "accelerometer 'none'; ambient-light-sensor 'none'; autoplay 'none'; camera 'none'; encrypted-media 'none'; fullscreen 'self'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; midi 'none'; payment 'none'; picture-in-picture 'self'; speaker 'none'; usb 'none'; vr 'none';"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|