summaryrefslogtreecommitdiff
path: root/Biz
diff options
context:
space:
mode:
Diffstat (limited to 'Biz')
-rw-r--r--Biz/Cloud/Networking.nix2
-rw-r--r--Biz/Cloud/Web.nix15
2 files changed, 17 insertions, 0 deletions
diff --git a/Biz/Cloud/Networking.nix b/Biz/Cloud/Networking.nix
index 4c8e058..e14ae37 100644
--- a/Biz/Cloud/Networking.nix
+++ b/Biz/Cloud/Networking.nix
@@ -6,6 +6,7 @@ let
http = 80;
https = 443;
sabten = 8080;
+ gemini = 1965;
};
in {
networking = {
@@ -15,6 +16,7 @@ in {
ports.http
ports.https
ports.sabten
+ ports.gemini
];
};
nameservers = [
diff --git a/Biz/Cloud/Web.nix b/Biz/Cloud/Web.nix
index 74fc27e..bc0d921 100644
--- a/Biz/Cloud/Web.nix
+++ b/Biz/Cloud/Web.nix
@@ -6,6 +6,21 @@ let
in
{
services = {
+ gmnisrv = {
+ enable = true;
+ settings = {
+ listen = "0.0.0.0:1965 [::]:1965";
+ ":tls" = { store = "/var/lib/gmnisrv"; };
+ "bsima.me" = {
+ "root" = "/www/ben/public";
+ };
+ "simatime.com" = {
+ "root" = "/www/simatime.com/public";
+ "cgi" = "on";
+ };
+ };
+ };
+
nginx = {
enable = true;
recommendedGzipSettings = true;