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

21 lines
370 B
Nix
Raw Normal View History

2017-08-01 20:47:34 +02:00
{ config, lib, ... }:
{
services.nginx = {
2023-07-23 23:11:54 +02:00
enable = true;
2017-08-01 20:47:34 +02:00
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
enableReload = true;
2017-08-01 20:47:34 +02:00
virtualHosts.default = {
locations."= /etc/os-release".extraConfig = ''
default_type text/plain;
alias /etc/os-release;
'';
};
};
}