Formatting
This commit is contained in:
parent
81b0fcdcce
commit
9c9ab5adc7
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue