tangled
alpha
login
or
join now
wiro.world
/
dotfiles
2
fork
atom
yep, more dotfiles
2
fork
atom
overview
issues
1
pulls
1
pipelines
server: add static folder browser
wiro.world
3 months ago
3880a489
23c450a9
verified
This commit was signed with the committer's
known signature
.
wiro.world
SSH Key Fingerprint:
SHA256:SmMcWpNAnL+VAgItSawvXgdPVn7f1rsyAuB/5VNclKY=
+7
-1
1 changed file
expand all
collapse all
unified
split
nixos
profiles
server.nix
+7
-1
nixos/profiles/server.nix
···
86
86
miniflux-port = 3012;
87
87
miniflux-hostname = "news.wiro.world";
88
88
89
89
+
static-hostname = "static.wiro.world";
90
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
275
+
virtualHosts.${static-hostname}.extraConfig = ''
276
276
+
root /var/www/static
277
277
+
file_server browse
278
278
+
'';
279
279
+
273
280
virtualHosts."hypixel-bank-tracker.xyz".extraConfig = ''
274
281
reverse_proxy http://localhost:${toString hbt-main-port}
275
282
'';
276
276
-
277
283
virtualHosts."banana.hypixel-bank-tracker.xyz".extraConfig = ''
278
284
reverse_proxy http://localhost:${toString hbt-banana-port}
279
285
'';