Default to pdf type for ogdo files
This commit is contained in:
parent
c35085fca4
commit
6920e76c13
1 changed files with 3 additions and 0 deletions
3
ogdo.nix
3
ogdo.nix
|
@ -29,6 +29,9 @@
|
||||||
locations."~ ^/.+" = {
|
locations."~ ^/.+" = {
|
||||||
root = "/srv/ogdo/served-files";
|
root = "/srv/ogdo/served-files";
|
||||||
tryFiles = "$uri =404";
|
tryFiles = "$uri =404";
|
||||||
|
extraConfig = ''
|
||||||
|
default_type application/pdf;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue