Formatting

This commit is contained in:
iFargle 2023-10-09 10:34:14 +09:00
parent 81b0fcdcce
commit 9c9ab5adc7

View file

@ -1,11 +1,10 @@
{pkgs, lib, config, ...}: {
networking.firewall.interfaces.wireguard0.allowedTCPPorts = [ 80 443 ];
# networking.firewall.allowedTCPPorts = [ 80 443 ];
# Generate a test cert
# sudo openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \
# -nodes -keyout test-ssl.key -out test-ssl.crt -subj "/CN=test-ssl" \
# -addext "subjectAltName=DNS:test-ssl,DNS:*.test-ssl,IP:10.100.0.2"
# Generate a test cert
# sudo openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 \
# -nodes -keyout test-ssl.key -out test-ssl.crt -subj "/CN=test-ssl" \
# -addext "subjectAltName=DNS:test-ssl,DNS:*.test-ssl,IP:10.100.0.2"
services.nginx = {
enable = true;