mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-16 10:40:21 +00:00
apache: enable proxy protocol
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
473ddbfcee
commit
e66725549c
1 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,16 @@
|
||||||
|
|
||||||
servers {
|
servers {
|
||||||
# trusted_proxies placeholder
|
# trusted_proxies placeholder
|
||||||
|
|
||||||
|
# Enable proxy protocol for caddy
|
||||||
|
listener_wrappers {
|
||||||
|
proxy_protocol {
|
||||||
|
timeout 5s
|
||||||
|
allow private_ranges 100.64.0.0/10
|
||||||
|
fallback_policy skip
|
||||||
|
}
|
||||||
|
tls
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log {
|
log {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue