nginx: render directory listings for uninsane.org/share
This commit is contained in:
parent
6f4072efdd
commit
b43a693a1e
|
@ -67,7 +67,13 @@ in
|
|||
|
||||
# uninsane.org/share/foo => /var/lib/uninsane/root/share/foo.
|
||||
# yes, nginx does not strip the prefix when evaluating against the root.
|
||||
locations."/share".root = "/var/lib/uninsane/root";
|
||||
locations."/share" = {
|
||||
root = "/var/lib/uninsane/root";
|
||||
extraConfig = ''
|
||||
# autoindex => render directory listings
|
||||
autoindex on;
|
||||
'';
|
||||
};
|
||||
|
||||
# allow matrix users to discover that @user:uninsane.org is reachable via matrix.uninsane.org
|
||||
locations."= /.well-known/matrix/server".extraConfig =
|
||||
|
|
Loading…
Reference in New Issue
Block a user