Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
haproxy SSL offload and nextcloud
« previous
next »
Print
Pages: [
1
]
Author
Topic: haproxy SSL offload and nextcloud (Read 2766 times)
gizm0
Newbie
Posts: 9
Karma: 0
haproxy SSL offload and nextcloud
«
on:
March 27, 2020, 02:02:44 pm »
I have haproxy running in opnsense system. Opnsense offloads the SSL and passes the connection nextcloud, which is located in the docker container. Is there any possibility to pass real client IP address to this nextcloud setup?
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: haproxy SSL offload and nextcloud
«
Reply #1 on:
March 27, 2020, 07:17:27 pm »
You need to do it like the nginx plugin does that automatically: Add headers like X-Real-IP and X-Forwarded-For
See:
https://docs.nextcloud.com/server/15/admin_manual/configuration_server/reverse_proxy_configuration.html
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
haproxy SSL offload and nextcloud