mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor(nginx): ssl preread
This commit is contained in:
parent
418caefe64
commit
b0a3da835c
7 changed files with 162 additions and 74 deletions
|
|
@ -1,5 +1,8 @@
|
|||
_: {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
{config, lib, ...}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
cfg = config.services.nginx;
|
||||
in {
|
||||
networking.firewall.allowedTCPPorts = mkIf cfg.enable [
|
||||
443
|
||||
80
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue