mirror of
https://github.com/RealOrangeOne/infrastructure.git
synced 2026-01-22 18:07:05 +00:00
Support HTTP3
This commit is contained in:
parent
aa5044a208
commit
7d556ce9cb
5 changed files with 18 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
|||
private_ip: "{{ ansible_tailscale0.ipv4.address }}"
|
||||
|
||||
traefik_http3: true
|
||||
|
||||
restic_backup_locations:
|
||||
- /opt
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@ traefik_provider_homeassistant: false
|
|||
traefik_provider_grafana: false
|
||||
traefik_provider_uptime_kuma: false
|
||||
traefik_tls_challenge: false
|
||||
traefik_http3: false
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ services:
|
|||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 443:443/udp
|
||||
- "{{ private_ip }}:8080:8080"
|
||||
depends_on:
|
||||
- docker_proxy
|
||||
|
|
|
|||
|
|
@ -40,6 +40,9 @@ entryPoints:
|
|||
transport:
|
||||
respondingTimeouts:
|
||||
readTimeout: 180s
|
||||
{% if traefik_http3 %}
|
||||
http3: {}
|
||||
{% end %}
|
||||
traefik:
|
||||
address: :8080
|
||||
|
||||
|
|
|
|||
|
|
@ -49,4 +49,15 @@ resource "hcloud_firewall" "web" {
|
|||
"::/0"
|
||||
]
|
||||
}
|
||||
|
||||
# HTTP/3
|
||||
rule {
|
||||
direction = "in"
|
||||
protocol = "udp"
|
||||
port = "443"
|
||||
source_ips = [
|
||||
"0.0.0.0/0",
|
||||
"::/0"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue