firewall rules for nginx
This commit is contained in:
parent
674a2d3b52
commit
6fd60a404c
|
@ -7,6 +7,7 @@ in {
|
||||||
options.void.server.nginx = { enable = mkEnableOption false; };
|
options.void.server.nginx = { enable = mkEnableOption false; };
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "Sayeko@proton.me";
|
defaults.email = "Sayeko@proton.me";
|
||||||
|
|
Loading…
Reference in a new issue