stockholm/makefu/2configs/nginx/update.connector.one.nix
2016-12-24 23:38:01 +01:00

21 lines
388 B
Nix

{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
services.nginx = {
enable = mkDefault true;
virtualHosts."update.connector.one" = {
locations = {
"/" = {
root = "/var/www/update.connector.one";
extraConfig = ''
autoindex on;
sendfile on;
gzip on;
'';
};
};
};
};
}