add gitea and nginx

This commit is contained in:
stupidcomputer 2024-10-22 08:22:06 -05:00
parent 93d923f109
commit 7a488636f4
2 changed files with 15 additions and 0 deletions

View File

@ -39,5 +39,8 @@
locations."/" = { locations."/" = {
proxyPass = "http://localhost:3001"; proxyPass = "http://localhost:3001";
}; };
locations."/bridge" = {
proxyPass = "http://localhost:5000";
};
}; };
} }

View File

@ -16,6 +16,18 @@
}; };
}; };
services.nginx.virtualHosts."tfb.beepboop.systems" = {
forceSSL = true;
enableACME = true;
root = "/var/www/tfb.beepboop.systems";
locations."/" = {
extraConfig = ''
port_in_redirect off;
absolute_redirect off;
'';
};
};
security.acme = { security.acme = {
acceptTerms = true; acceptTerms = true;
defaults.email = "nickforanick@protonmail.com"; defaults.email = "nickforanick@protonmail.com";