OPNsense
  • 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 2776 times)

gizm0

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
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.)
    • View Profile
    • Personal Homepage
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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2