Added transfer-sh and basic caddy config and lapserv host config.
This commit is contained in:
parent
58dcc86ca8
commit
cc42ce672d
8 changed files with 95 additions and 3 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue