dev: add reverse proxy setup for perplexica
Alan Pearce alan@alanpearce.eu
Thu, 16 Jan 2025 21:33:03 +0100
1 files changed, 22 insertions(+), 0 deletions(-)
jump to
M system/settings/dev.nix → system/settings/dev.nix
@@ -54,6 +54,28 @@ } } ''; }; + "perplexica-backend.localhost" = { + logFormat = "output discard"; + extraConfig = '' + reverse_proxy http://localhost:8339 { + transport http { + dial_timeout 1s + compression off + } + } + ''; + }; + "perplexica.localhost" = { + logFormat = "output discard"; + extraConfig = '' + reverse_proxy http://localhost:8338 { + transport http { + dial_timeout 1s + compression off + } + } + ''; + }; }; }; }