diff --git a/hosts/Infini-OPTIPLEX/default.nix b/hosts/Infini-OPTIPLEX/default.nix index 4390428..444c6bd 100644 --- a/hosts/Infini-OPTIPLEX/default.nix +++ b/hosts/Infini-OPTIPLEX/default.nix @@ -30,4 +30,20 @@ defaultShared = true; openFirewall = true; }; + + services.httpd = { + enable = true; + virtualHosts."infini-optiplex.tailnet.inx.moe" = rec { + documentRoot = "/srv/seppo"; + extraConfig = '' + AddHandler cgi-script .cgi + + + AllowOverride All + Options All + Require all granted + + ''; + }; + }; }