add gitea and nginx
This commit is contained in:
parent
93d923f109
commit
7a488636f4
|
@ -39,5 +39,8 @@
|
|||
locations."/" = {
|
||||
proxyPass = "http://localhost:3001";
|
||||
};
|
||||
locations."/bridge" = {
|
||||
proxyPass = "http://localhost:5000";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "nickforanick@protonmail.com";
|
||||
|
|
Loading…
Reference in New Issue