yep, more dotfiles

server: add static folder browser

wiro.world 3880a489 23c450a9

verified
Changed files
+7 -1
nixos
profiles
+7 -1
nixos/profiles/server.nix
···
miniflux-port = 3012;
miniflux-hostname = "news.wiro.world";
+
static-hostname = "static.wiro.world";
+
hbt-main-port = 3013;
hbt-banana-port = 3014;
···
reverse_proxy http://localhost:${toString miniflux-port}
'';
+
virtualHosts.${static-hostname}.extraConfig = ''
+
root /var/www/static
+
file_server browse
+
'';
+
virtualHosts."hypixel-bank-tracker.xyz".extraConfig = ''
reverse_proxy http://localhost:${toString hbt-main-port}
'';
-
virtualHosts."banana.hypixel-bank-tracker.xyz".extraConfig = ''
reverse_proxy http://localhost:${toString hbt-banana-port}
'';