[module/nginx-reverse-proxy] Fix email config

This commit is contained in:
Malte Tammena 2022-01-13 11:25:32 +01:00
parent e0088ff1e4
commit ff43d7a4a9

View file

@ -1,7 +1,8 @@
{ pkgs, ... }:
{
security.acme.email = "malte.tammena@pm.me";
security.acme.defaults.email = "malte.tammena@pm.me";
security.acme.acceptTerms = true;
networking.firewall.allowedTCPPorts = [ 443 80 ];
@ -10,20 +11,6 @@
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
# # other Nginx options
# virtualHosts."example.com" = {
# enableACME = true;
# forceSSL = true;
# locations."/" = {
# proxyPass = "https://127.0.0.1:12345";
# proxyWebsockets = true; # needed if you need to use WebSocket
# extraConfig =
# # required when the target is also TLS server with multiple hosts
# "proxy_ssl_server_name on;" +
# # required when the server wants to use HTTP Authentication
# "proxy_pass_header Authorization;";
# };
# };
};
}