infra/services/nginx.nix

10 lines
214 B
Nix
Raw Normal View History

2021-03-04 11:02:47 +01:00
{ config, lib, pkgs, ... }:
{
# nginx is being used as the frontend HTTP server for all the services
# running on the box
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [ 443 80 ];
}