Remove files vhost
This commit is contained in:
parent
be06a07019
commit
31010c9a8c
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bootstrap-with-tailwind.oliverdavies.uk.nix
|
||||
./files.oliverdavies.uk.nix
|
||||
./florida-drupalcamp-tailwind-css.oliverdavies.uk.nix
|
||||
./luke.oliverdavies.uk.nix
|
||||
./phpsw-sculpin-demo.oliverdavies.uk.nix
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
services.caddy.virtualHosts."files.oliverdavies.uk" = {
|
||||
useACMEHost = "oliverdavies.uk";
|
||||
|
||||
extraConfig = ''
|
||||
file_server {
|
||||
header Content-Disposition "attachment"
|
||||
}
|
||||
|
||||
root * /var/www/vhosts/files.oliverdavies.uk
|
||||
|
||||
header X-Robots-Tag "noindex, nofollow"
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue