mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Allow websites to be reached through firewall
This commit is contained in:
parent
f3da627c05
commit
e969459d1d
@ -6,6 +6,7 @@ with lib;{
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
services.nginx.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx.virtualHosts."localhost" = {
|
||||
addSSL = false;
|
||||
enableACME = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user