feat: transfer wowmine to neuro

This commit is contained in:
2026-11-20 10:52:59 +00:00
parent f69752dcc0
commit 53d4ecc2bf
66 changed files with 1319 additions and 425 deletions
+14 -6
View File
@@ -5,14 +5,18 @@
enable = true;
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKNWWegOVTOF3EOmam32iP7sMybULMTxsXuC+cEGITQ8 minecraft-wow-relay";
};
systemd.tmpfiles.rules = [ "d /var/www/store/minecraft/world-of-sosal 0755 root root -" ];
systemd.tmpfiles.rules = [ "d /var/www/store/minecraft/wowmine 0755 root root -" ];
services.nginx.virtualHosts."store.bfs.band" = {
enableACME = true;
forceSSL = true;
root = "/var/www/store";
locations."= /".return = "302 /minecraft/world-of-sosal/";
locations."= /minecraft".return = "302 /minecraft/world-of-sosal/";
locations."= /minecraft/".return = "302 /minecraft/world-of-sosal/";
locations."= /".return = "302 /minecraft/wowmine/";
locations."= /minecraft".return = "302 /minecraft/wowmine/";
locations."= /minecraft/".return = "302 /minecraft/wowmine/";
locations."^~ /minecraft/world-of-sosal/".extraConfig = ''
rewrite ^/minecraft/world-of-sosal/WorldOfSosal-(.*)$ /minecraft/wowmine/wowmine-$1 permanent;
rewrite ^/minecraft/world-of-sosal/(.*)$ /minecraft/wowmine/$1 permanent;
'';
locations."/".extraConfig = ''
autoindex off;
add_header Cache-Control "no-cache";
@@ -21,8 +25,12 @@
};
# Keep old pack URLs working for already imported Prism instances.
services.nginx.virtualHosts."bfs.band".locations = {
"= /minecraft".return = "302 /minecraft/world-of-sosal/";
"= /minecraft/".return = "302 /minecraft/world-of-sosal/";
"= /minecraft".return = "302 /minecraft/wowmine/";
"= /minecraft/".return = "302 /minecraft/wowmine/";
"^~ /minecraft/world-of-sosal/".extraConfig = ''
rewrite ^/minecraft/world-of-sosal/WorldOfSosal-(.*)$ /minecraft/wowmine/wowmine-$1 permanent;
rewrite ^/minecraft/world-of-sosal/(.*)$ /minecraft/wowmine/$1 permanent;
'';
"^~ /minecraft/" = {
root = "/var/www/store";
extraConfig = ''