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
  }
}
