Use proxy protocol v2
Apparently it's better for chaining, and may be faster anyway
This commit is contained in:
parent
b6adc53746
commit
797c44a27d
2 changed files with 8 additions and 8 deletions
|
@ -21,7 +21,7 @@ listen https
|
||||||
timeout connect 10m
|
timeout connect 10m
|
||||||
timeout client 10m
|
timeout client 10m
|
||||||
timeout server 10m
|
timeout server 10m
|
||||||
server default {{ wireguard.clients.ingress.ip }}:8443 send-proxy
|
server default {{ wireguard.clients.ingress.ip }}:8443 send-proxy-v2
|
||||||
|
|
||||||
listen http
|
listen http
|
||||||
bind *:80
|
bind *:80
|
||||||
|
@ -33,9 +33,9 @@ listen http
|
||||||
timeout connect 10m
|
timeout connect 10m
|
||||||
timeout client 10m
|
timeout client 10m
|
||||||
timeout server 10m
|
timeout server 10m
|
||||||
server default {{ wireguard.clients.ingress.ip }}:880 send-proxy
|
server default {{ wireguard.clients.ingress.ip }}:880 send-proxy-v2
|
||||||
|
|
||||||
listen matrix
|
listen matrix
|
||||||
bind *:8448
|
bind *:8448
|
||||||
mode tcp
|
mode tcp
|
||||||
server default {{ wireguard.clients.ingress.ip }}:8443 send-proxy
|
server default {{ wireguard.clients.ingress.ip }}:8443 send-proxy-v2
|
||||||
|
|
|
@ -18,25 +18,25 @@ defaults
|
||||||
listen http_internal
|
listen http_internal
|
||||||
bind *:80
|
bind *:80
|
||||||
mode http
|
mode http
|
||||||
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy
|
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy-v2
|
||||||
|
|
||||||
listen https_internal
|
listen https_internal
|
||||||
bind *:443
|
bind *:443
|
||||||
mode tcp
|
mode tcp
|
||||||
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|
||||||
|
|
||||||
listen matrix_internal
|
listen matrix_internal
|
||||||
bind *:8448
|
bind *:8448
|
||||||
mode tcp
|
mode tcp
|
||||||
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|
||||||
|
|
||||||
# External routes
|
# External routes
|
||||||
listen http_external
|
listen http_external
|
||||||
bind *:880 accept-proxy
|
bind *:880 accept-proxy
|
||||||
mode http
|
mode http
|
||||||
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy
|
server default {{ pve_hosts.pve_docker.ip }}:80 send-proxy-v2
|
||||||
|
|
||||||
listen https_external
|
listen https_external
|
||||||
bind *:8443 accept-proxy
|
bind *:8443 accept-proxy
|
||||||
mode tcp
|
mode tcp
|
||||||
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy
|
server default {{ pve_hosts.pve_docker.ip }}:443 send-proxy-v2
|
||||||
|
|
Loading…
Reference in a new issue