oops
This commit is contained in:
parent
f83d4613e7
commit
653eb2d606
1 changed files with 9 additions and 0 deletions
|
|
@ -36,4 +36,13 @@ in
|
||||||
networking.firewall.allowedTCPPorts = [ 8448 ];
|
networking.firewall.allowedTCPPorts = [ 8448 ];
|
||||||
|
|
||||||
users.users.caddy.extraGroups = [ "tuwunel" ];
|
users.users.caddy.extraGroups = [ "tuwunel" ];
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts = {
|
||||||
|
"psychal.link, psychal.link:8448".extraConfig = ''
|
||||||
|
reverse_proxy unix//run/tuwunel/tuwunel.sock
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue