mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Host and X-Forwarded-For are sent by default and remote_ip is not a valid placeholder
parent
b4e92f4e87
commit
175bf0921d
@ -140,13 +140,6 @@ Below is an example Caddy configuration
|
||||
```
|
||||
:80 {
|
||||
reverse_proxy http://localhost:8000 {
|
||||
header_up Host {host}
|
||||
header_up Upgrade {http_upgrade}
|
||||
header_up Connection {connection}
|
||||
header_up X-Real-IP {remote_ip}
|
||||
header_up X-Forwarded-For {remote_ip}
|
||||
header_up X-Forwarded-Host {host}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_down Referrer-Policy "strict-origin-when-cross-origin"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user