configuraciones para los contenedores del servidor de copincha
This commit is contained in:
33
caddy/Caddyfile
Normal file
33
caddy/Caddyfile
Normal file
@@ -0,0 +1,33 @@
|
||||
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';"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user