Merge branch 'yshtola-build' of https://scm.wyattjmiller.com/wymiller/nix-config-v2 into yshtola-build

This commit is contained in:
2026-02-28 23:54:18 -05:00

View File

@@ -1,5 +1,6 @@
{
pkgs,
config,
userName,
...
}: let
@@ -230,11 +231,24 @@ in {
extraConfig = ''
encode zstd gzip
root * ${config.services.mastodon.package}/public
handle /system/* {
uri strip_prefix /system
root * /var/lib/mastodon/public-system
file_server
}
@streaming path /api/v1/streaming*
handle @streaming {
reverse_proxy localhost:4000
}
@static file
handle @static {
file_server
}
handle {
reverse_proxy localhost:3000
}