Add initial configuration files and scripts for NextCloud setup

This commit is contained in:
2026-02-25 00:48:52 +03:30
parent 1fc3f4bcf1
commit a85136ba06
7 changed files with 244 additions and 0 deletions

25
Caddyfile Normal file
View File

@@ -0,0 +1,25 @@
nextcloud.test {
tls internal
encode zstd gzip
reverse_proxy nextcloud-aio-apache:11000
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "no-referrer"
-Server
}
}
nextcloud.localhost {
tls internal
encode zstd gzip
reverse_proxy nextcloud-aio-apache:11000
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "no-referrer"
-Server
}
}