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
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
services.nginx.enable = true;
|
services.nginx.enable = true;
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
services.nginx.virtualHosts."localhost" = {
|
services.nginx.virtualHosts."localhost" = {
|
||||||
addSSL = false;
|
addSSL = false;
|
||||||
enableACME = false;
|
enableACME = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user