feat(services,minecraft-servers): favelasmp website

This commit is contained in:
Guz
2026-05-25 16:26:59 -03:00
parent 66f4a8a8f5
commit f2cc1bee8c
2 changed files with 6 additions and 11 deletions

8
flake.lock generated
View File

@@ -95,11 +95,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1779563912,
"narHash": "sha256-g3nD9EAIaz/iQUO7ld4/7Cgn9EEa5BWtFGLaRh104nU=",
"lastModified": 1779736262,
"narHash": "sha256-Fstk1KGbZ2u4tXNoQ2vzfoEYunq2CmluRM1uKWg1EvM=",
"ref": "refs/heads/main",
"rev": "8c0d74be89894896f95486330a0e1df54d40d6b5",
"revCount": 13,
"rev": "489e1c1219ec1b99d9a7a7f9e14154fa81ccdec8",
"revCount": 14,
"type": "git",
"url": "https://code.capytal.cc/sixsides/favelasmp"
},

View File

@@ -359,13 +359,8 @@ in {
bluemapServer = cfg.servers."favelasmp".files."config/bluemap/webserver.conf".value;
in {
extraConfig = ''
header Content-Type text/html
respond <<HTML
<html>
<head><title>FavelaSMP</title></head>
<body><h1>Hello, FavelaSMP</h1></body>
</html>
HTML 200
root ${inputs.favelasmp.packages.${pkgs.stdenv.hostPlatform.system}.web}
file_server
handle /git-pack-manager* {
reverse_proxy http://localhost:${toString meshLib.httpPort} {