This commit is contained in:
nora 2024-08-05 22:46:41 +02:00
parent 4f88fa1d37
commit 6b8a771801

View file

@ -2,10 +2,15 @@
let caddy = nixpkgs-unstable.caddy; in let caddy = nixpkgs-unstable.caddy; in
{ {
networking.firewall.allowedTCPPorts = [ networking.firewall = {
80 allowedTCPPorts = [
443 80 # HTTP
]; 443 # HTTPS
];
allowedUDPPorts = [
443 # HTTP/3 via QUIC
];
};
services.caddy = { services.caddy = {
enable = true; enable = true;