Add initial configuration files and scripts for NextCloud setup
This commit is contained in:
25
Caddyfile
Normal file
25
Caddyfile
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user