use fancy index

This commit is contained in:
Daniel Poelzleithner 2018-12-21 16:55:39 +01:00
parent 39c217b8d2
commit e9c0401803
1 changed files with 7 additions and 1 deletions

View File

@ -132,6 +132,11 @@
services.nginx = {
enable = true;
package = pkgs.nginx.override {
modules = with pkgs.nginxModules; [ fancyindex ];
};
virtualHosts = {
"storage-ng.hq.c3d2.de" = {
root = "/etc/nixos/www";
@ -142,7 +147,8 @@
"/c3d2" = {
alias = "/mnt/cephfs/c3d2/files/";
extraConfig = ''
autoindex on;
fancyindex on;
# autoindex on;
'';
};
};