diff options
| author | Mel <mel@rnrd.eu> | 2025-02-12 22:37:37 +0100 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-02-12 22:37:37 +0100 |
| commit | e87b976dfb2667a8f4bc55a596a35eda65979014 (patch) | |
| tree | f0e171a925fa975a7aa284d3a641a05eed08b30e /services/miniflux.nix | |
| parent | 48b97675572cfb8897d36c1e3c1457c5fb9e1113 (diff) | |
| download | network-e87b976dfb2667a8f4bc55a596a35eda65979014.tar.zst network-e87b976dfb2667a8f4bc55a596a35eda65979014.zip | |
Move tailnet internal sites to their own rnrd.fyi subdomains
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'services/miniflux.nix')
| -rw-r--r-- | services/miniflux.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/services/miniflux.nix b/services/miniflux.nix index c2f864b..3d2245b 100644 --- a/services/miniflux.nix +++ b/services/miniflux.nix @@ -24,7 +24,7 @@ in environment = { PORT = toString minifluxLocalPort; - BASE_URL = "https://${me.tailscale.domain}/miniflux/"; + BASE_URL = "https://miniflux.rnrd.fyi/"; CREATE_ADMIN = "1"; ADMIN_USERNAME = "mel"; @@ -51,13 +51,11 @@ in }; }; - services.nginx.virtualHosts.tailnet.locations = { - "/miniflux" = { - return = "301 $scheme://$host$request_uri/"; - }; - - "/miniflux/" = { - proxyPass = "http://127.0.0.1:${toString minifluxLocalPort}/miniflux/"; + services.nginx.virtualHosts."miniflux.rnrd.fyi" = { + useACMEHost = "rnrd.fyi"; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:${toString minifluxLocalPort}/"; recommendedProxySettings = true; }; }; |
