mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
23 lines
439 B
Nix
23 lines
439 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
security.acme = {
|
|
acceptTerms = true;
|
|
defaults.email = "nicholasyoungsumner@gmail.com";
|
|
};
|
|
|
|
services.nginx = {
|
|
enable = false;
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedProxySettings = true;
|
|
recommendedTlsSettings = true;
|
|
|
|
virtualHosts."10.0.0.206" = {
|
|
addSSL = true;
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
};
|
|
};
|
|
}
|