From 01b2421098808cd65ac248c2391757a26321cce0 Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Mon, 9 Oct 2023 16:55:57 +0100 Subject: [PATCH] Continued Wallabag setup --- system/shared/services/nginx.nix | 12 ++++++++++++ system/shared/services/wallabag.nix | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/system/shared/services/nginx.nix b/system/shared/services/nginx.nix index 2ef7a32..74a0831 100644 --- a/system/shared/services/nginx.nix +++ b/system/shared/services/nginx.nix @@ -34,6 +34,7 @@ }; }; + # Syncthing virtualHosts."syncthing.tsvallender.co.uk" = { forceSSL = true; enableACME = true; @@ -42,6 +43,7 @@ }; }; + # Miniflux virtualHosts."feeds.tsvallender.co.uk" = { forceSSL = true; enableACME = true; @@ -50,6 +52,7 @@ }; }; + # Radicale virtualHosts."cal.tsvallender.co.uk" = { forceSSL = true; enableACME = true; @@ -57,6 +60,15 @@ proxyPass = "http://127.0.0.1:5232"; }; }; + + # Wallabag + virtualHosts."wb.tsvallender.co.uk" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://127.0.0.1:5232"; + }; + }; }; security.acme = { diff --git a/system/shared/services/wallabag.nix b/system/shared/services/wallabag.nix index 12945d2..cd3617d 100644 --- a/system/shared/services/wallabag.nix +++ b/system/shared/services/wallabag.nix @@ -8,8 +8,8 @@ SYMFONY__ENV__DOMAIN_NAME = "http://localhost"; }; volumes = [ - "/opt/wallabag/data:/var/www/wallabag/data", - "/opt/wallabag/images:/var/www/wallabag/images", + "/opt/wallabag/data:/var/www/wallabag/data" + "/opt/wallabag/images:/var/www/wallabag/images" ]; }; };