Added transfer-sh and basic caddy config and lapserv host config.

This commit is contained in:
Jurn Wubben 2025-03-27 19:29:22 +01:00
parent 3ca4b86d79
commit 54bb68ac60
8 changed files with 95 additions and 3 deletions

View file

@ -1,3 +1,23 @@
{config, ...}: {
niksos.server.enable = config.niksos.server.enable;
services.caddy = {
enable = config.niksos.server;
email = "jurnwubben@gmail.com";
enableReload = false;
virtualHosts."share.jsw.tf" = {
serverAliases = ["www.share.jsw.tf"];
extraConfig = ''
reverse_proxy :9000
'';
};
globalConfig = ''
http_port 80
https_port 443
auto_https off
bind 192.168.1.114
'';
};
networking.firewall.allowedTCPPorts = [80 443];
}