refactor(services/server): changing the architecture for teamspeak
This commit is contained in:
parent
5c5307014e
commit
e891d4cf6d
1 changed files with 1 additions and 1 deletions
|
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.service.selfhost.monitor;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg {
|
||||
services = {
|
||||
teamspeak3 = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
nginx.virtualHosts."ts.enium.eu" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:9987";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue