mirror of
https://github.com/zoriya/flake.git
synced 2026-06-01 18:26:18 +00:00
Enable komga
This commit is contained in:
@@ -105,6 +105,17 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."komga.sdg.moe" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:4677";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = "proxy_pass_header Authorization;";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
virtualHosts."reader.sdg.moe" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
@@ -164,4 +175,10 @@ in {
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services.komga = {
|
||||
enable = true;
|
||||
port = 4677;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user