I should commit more frequently 🫣
This commit is contained in:
parent
d7e82621c8
commit
f1483e45f0
70 changed files with 2344 additions and 599 deletions
20
modules/org-roam-ui/default.nix
Normal file
20
modules/org-roam-ui/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{...}: {
|
||||
networking.firewall.interfaces."wg0" = {
|
||||
allowedTCPPorts = [
|
||||
35901
|
||||
];
|
||||
};
|
||||
imports = [../nginx-base];
|
||||
services.nginx.virtualHosts = {
|
||||
"roam.aciceri.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:35901";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# TODO use oauth2 proxy
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue