[durruti] serve docs on port 9000
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, self, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."_" = {
|
||||
listen = [
|
||||
{ addr = "0.0.0.0"; port = 9000; }
|
||||
];
|
||||
root = "${self.packages.x86_64-linux.docs}/share/doc";
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9000 ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user