mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
HTTP/3
This commit is contained in:
parent
4f88fa1d37
commit
6b8a771801
1 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue