Add trilium notes
This commit is contained in:
parent
5b35604d09
commit
1fe2860c13
6 changed files with 32 additions and 6 deletions
11
modules/system/services/server/trilium/nginx/default.nix
Normal file
11
modules/system/services/server/trilium/nginx/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."notes.nixfox.ca" = lib.mkIf config.services.vaultwarden.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8012";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue