about summary refs log tree commit diff
path: root/modules/services/sourcegraph
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/services/sourcegraph/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/services/sourcegraph/default.nix b/modules/services/sourcegraph/default.nix
index 92653c1..0845c55 100644
--- a/modules/services/sourcegraph/default.nix
+++ b/modules/services/sourcegraph/default.nix
@@ -32,6 +32,18 @@ in
     services.nginx.virtualHosts."${cfg.vhostName}" = {
       forceSSL = true;
       useACMEHost = cfg.vhostName;
+      listen = [
+        {
+          addr = "100.85.232.66";
+          port = 443;
+          ssl = true;
+        }
+        {
+          addr = "100.85.232.66";
+          port = 80;
+          ssl = false;
+        }
+      ];
       locations."/" = { proxyPass = "http://127.0.0.1:7080"; };
     };