replace pi with openclaw (#60)

This commit is contained in:
Hari 2026-04-03 11:16:16 -04:00 committed by GitHub
parent be2370f406
commit 630ec774ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 160 additions and 114 deletions

View file

@ -2,7 +2,7 @@
...
}:
let
sandboxDomain = "netty.harivan.sh";
openClawDomain = "netty.harivan.sh";
forgejoDomain = "git.harivan.sh";
vaultDomain = "vault.harivan.sh";
betternasDomain = "api.betternas.com";
@ -19,11 +19,16 @@ in
recommendedTlsSettings = true;
clientMaxBodySize = "512m";
# Reserved for future use - nothing listening on this port yet
virtualHosts.${sandboxDomain} = {
virtualHosts.${openClawDomain} = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://127.0.0.1:2470";
locations."/" = {
proxyPass = "http://127.0.0.1:2470";
proxyWebsockets = true;
extraConfig = ''
proxy_set_header X-Forwarded-For $remote_addr;
'';
};
};
virtualHosts.${forgejoDomain} = {