redirect from tfb.beepboop.systems to marching.beepboop.systems

This commit is contained in:
stupidcomputer 2024-12-19 17:23:02 -06:00
parent dd39ecb6f5
commit ee2ab3ae0d
1 changed files with 13 additions and 0 deletions

View File

@ -17,6 +17,19 @@
}; };
services.nginx.virtualHosts."tfb.beepboop.systems" = { services.nginx.virtualHosts."tfb.beepboop.systems" = {
forceSSL = true;
enableACME = true;
locations."/" = {
extraConfig = ''
return 301 https://marching.beepboop.systems;
'';
};
locations."/groupme" = {
proxyPass = "http://10.100.0.2:7439";
};
};
services.nginx.virtualHosts."marching.beepboop.systems" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = "/var/www/tfb.beepboop.systems"; root = "/var/www/tfb.beepboop.systems";