Remove tome subdomain
This commit is contained in:
parent
ad1a2513a7
commit
671dcfe5c2
2 changed files with 0 additions and 25 deletions
|
@ -41,7 +41,6 @@
|
||||||
"rebuilding-symfony"
|
"rebuilding-symfony"
|
||||||
"tailwindcss-demo"
|
"tailwindcss-demo"
|
||||||
"talking-drupal-tailwindcss"
|
"talking-drupal-tailwindcss"
|
||||||
"tome"
|
|
||||||
"tubearchivist"
|
"tubearchivist"
|
||||||
"uptime"
|
"uptime"
|
||||||
"vaultwarden"
|
"vaultwarden"
|
||||||
|
|
|
@ -24,7 +24,6 @@ let
|
||||||
"sites/default/files"
|
"sites/default/files"
|
||||||
"testing"
|
"testing"
|
||||||
"themes/custom/opdavies"
|
"themes/custom/opdavies"
|
||||||
"tome-test"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
port = ports.nginx-website-tome;
|
port = ports.nginx-website-tome;
|
||||||
|
@ -80,34 +79,11 @@ in
|
||||||
globalRedirect = "www.oliverdavies.uk";
|
globalRedirect = "www.oliverdavies.uk";
|
||||||
useACMEHost = "oliverdavies.uk";
|
useACMEHost = "oliverdavies.uk";
|
||||||
};
|
};
|
||||||
|
|
||||||
"tome.oliverdavies.uk" = {
|
|
||||||
listen = [
|
|
||||||
{
|
|
||||||
addr = "localhost";
|
|
||||||
port = tome.port;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
locations."/".tryFiles = "$uri $uri.html $uri/index.html =404";
|
|
||||||
|
|
||||||
root = tome.root;
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
add_header X-Robots-Tag "noindex, nofollow";
|
|
||||||
|
|
||||||
port_in_redirect off;
|
|
||||||
|
|
||||||
# Remove trailing slashes.
|
|
||||||
rewrite ^/(.*)/$ /$1 permanent;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cloudflared.tunnels."e1514105-327f-4984-974e-e2fbaca76466" = {
|
cloudflared.tunnels."e1514105-327f-4984-974e-e2fbaca76466" = {
|
||||||
ingress = {
|
ingress = {
|
||||||
"oliverdavies.uk" = "http://localhost:${toString port}";
|
"oliverdavies.uk" = "http://localhost:${toString port}";
|
||||||
"tome.oliverdavies.uk" = "http://localhost:${toString tome.port}";
|
|
||||||
"www.oliverdavies.uk" = "http://localhost:${toString port}";
|
"www.oliverdavies.uk" = "http://localhost:${toString port}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue