yep, more dotfiles

server: add static folder browser

wiro.world 3880a489 23c450a9

verified
+7 -1
+7 -1
nixos/profiles/server.nix
··· 86 86 miniflux-port = 3012; 87 87 miniflux-hostname = "news.wiro.world"; 88 88 89 + static-hostname = "static.wiro.world"; 90 + 89 91 hbt-main-port = 3013; 90 92 hbt-banana-port = 3014; 91 93 ··· 270 272 reverse_proxy http://localhost:${toString miniflux-port} 271 273 ''; 272 274 275 + virtualHosts.${static-hostname}.extraConfig = '' 276 + root /var/www/static 277 + file_server browse 278 + ''; 279 + 273 280 virtualHosts."hypixel-bank-tracker.xyz".extraConfig = '' 274 281 reverse_proxy http://localhost:${toString hbt-main-port} 275 282 ''; 276 - 277 283 virtualHosts."banana.hypixel-bank-tracker.xyz".extraConfig = '' 278 284 reverse_proxy http://localhost:${toString hbt-banana-port} 279 285 '';