stockholm/makefu/2configs/nginx/update.connector.one.nix

21 lines
388 B
Nix
Raw Normal View History

2016-02-01 20:58:54 +00:00
{ config, lib, pkgs, ... }:
2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
2016-12-24 22:38:01 +00:00
{
services.nginx = {
2016-02-01 20:58:54 +00:00
enable = mkDefault true;
2016-12-24 22:38:01 +00:00
virtualHosts."update.connector.one" = {
locations = {
"/" = {
root = "/var/www/update.connector.one";
extraConfig = ''
autoindex on;
sendfile on;
gzip on;
'';
};
2016-02-01 20:58:54 +00:00
};
};
};
}