servo: expose Milkbags to the internet :)

This commit is contained in:
Colin 2024-04-08 06:55:09 +00:00
parent 03bec6aab2
commit fce3436c88

View File

@ -89,6 +89,16 @@ in
disable_symlinks on;
'';
};
locations."/share/Milkbags/" = {
alias = "/var/media/Videos/Milkbags/";
extraConfig = ''
# autoindex => render directory listings
autoindex on;
# don't follow any symlinks when serving files
# otherwise it allows a directory escape
disable_symlinks on;
'';
};
# allow matrix users to discover that @user:uninsane.org is reachable via matrix.uninsane.org
locations."= /.well-known/matrix/server".extraConfig =