summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/dev.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/settings/dev.nix b/system/settings/dev.nix
index b1817914..224e0c73 100644
--- a/system/settings/dev.nix
+++ b/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
+              }
+            }
+          '';
+        };
       };
   };
 }