Move homelab services to oliverdavies.uk domain
This commit is contained in:
parent
f740c91a6c
commit
716cb791e9
14 changed files with 31 additions and 31 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
with lib;
|
||||
|
||||
let
|
||||
url = "paperless.oliverdavies.uk";
|
||||
in
|
||||
{
|
||||
options.features.homelab.paperless.enable = mkEnableOption "Enable paperless";
|
||||
|
||||
|
@ -13,12 +16,12 @@ with lib;
|
|||
dataDir = "/mnt/media/paperless";
|
||||
|
||||
settings = {
|
||||
PAPERLESS_URL = "https://paperless.opdavies.uk";
|
||||
PAPERLESS_URL = "https://${url}";
|
||||
};
|
||||
};
|
||||
|
||||
caddy.virtualHosts."paperless.opdavies.uk" = {
|
||||
useACMEHost = "opdavies.uk";
|
||||
caddy.virtualHosts."${url}" = {
|
||||
useACMEHost = "oliverdavies.uk";
|
||||
|
||||
extraConfig = "reverse_proxy localhost:28981";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue