use fancy index
This commit is contained in:
parent
39c217b8d2
commit
e9c0401803
|
@ -132,6 +132,11 @@
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
package = pkgs.nginx.override {
|
||||||
|
modules = with pkgs.nginxModules; [ fancyindex ];
|
||||||
|
};
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"storage-ng.hq.c3d2.de" = {
|
"storage-ng.hq.c3d2.de" = {
|
||||||
root = "/etc/nixos/www";
|
root = "/etc/nixos/www";
|
||||||
|
@ -142,7 +147,8 @@
|
||||||
"/c3d2" = {
|
"/c3d2" = {
|
||||||
alias = "/mnt/cephfs/c3d2/files/";
|
alias = "/mnt/cephfs/c3d2/files/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex on;
|
fancyindex on;
|
||||||
|
# autoindex on;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue