blob: 5d21a146f90a6c50fa5ecb0b811e44c815505625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ config, lib, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
recommendedProxySettings = true;
# virtualHosts = {
# "stuebinm.eu" = {
# forceSSL = true;
# enableACME = true;
# root = "/var/www/stats";
# };
# };
};
}
|