This commit is contained in:
fwastring 2025-11-12 19:56:53 +01:00
parent 3d26de29d3
commit 57243e421e
4 changed files with 89 additions and 32 deletions

View file

@ -46,6 +46,22 @@ in
beets
];
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts."router.wastring.com" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://192.168.1.1:80";
proxyWebsockets = true;
extraConfig =
"proxy_ssl_server_name on;" + "proxy_pass_header Authorization;";
};
};
};
mpd = {
enable = true;
};