Minecraft world download flow
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
curl
|
||||
unzip
|
||||
xz
|
||||
nginx
|
||||
];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
@@ -218,4 +219,17 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."_" = {
|
||||
root = "/var/www/hostedfiles";
|
||||
locations."/" = {
|
||||
extraConfig = "autoindex on;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/www/hostedfiles 0755 h3lp h3lp -"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user