stockholm/lass/2configs/websites/default.nix

22 lines
381 B
Nix
Raw Normal View History

2017-08-01 18:47:34 +00:00
{ config, lib, ... }:
with import <stockholm/lib>;
{
services.nginx = {
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
enableReload = true;
2017-08-01 18:47:34 +00:00
virtualHosts.default = {
locations."= /etc/os-release".extraConfig = ''
default_type text/plain;
alias /etc/os-release;
'';
};
};
}