all repos — nixfiles @ 6716bef52d22de36520d9e8bb6d85cafb72ba9fa

System and user configuration, managed by nix and home-manager

dev: add reverse proxy setup for perplexica

Alan Pearce
commit

6716bef52d22de36520d9e8bb6d85cafb72ba9fa

parent

0f9926dfa37ea726df515c62beb370a091c75a87

1 file changed, 22 insertions(+), 0 deletions(-)

jump to
M system/settings/dev.nixsystem/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 + } + } + ''; + }; }; }; }