feat: add gonic
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
87f425b1c6
commit
a3bd66771e
1 changed files with 18 additions and 0 deletions
|
|
@ -68,6 +68,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.gonic = {
|
||||
enable = true;
|
||||
settings = {
|
||||
music-path = [ "/data/music" ];
|
||||
podcast-path = [ "/data/podcast" ];
|
||||
playlists-path = [ "/data/playlists" ];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."music.escapeangle.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:4747";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./hosting-02.yaml;
|
||||
secrets = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue