Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to use "x-fowarded-host/proto" in the pfSense-HAproxy package GUI

    Scheduled Pinned Locked Moved Cache/Proxy
    haproxyhttp https
    1 Posts 1 Posters 960 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vanDariu
      last edited by vanDariu

      Hello!

      I'm relatively new to using HAproxy so please excuse some possible nooby questions. The larger problem I'm trying to solve is this one: [SOLVED] ERROR - Nextcloud & OnlyOffice Docs. This content is blocked. Contact the site owner to fix the issue and I do not yet know how to implement this solution in pfSense+HAproxy GUI. I assume it's possible... (Maybe there are other ways of circumventing this problem?)

      It is stated on the official OnlyOffice site that "You need to set up two types of HTTP headers: X-Forwarded-Proto and X-Forwarded-Host". There are also clear official examples of "X-Forwarded-Host" or "X-Forwarded-Proto" usage but I don't know how to implement them as I lack sufficient knowledge about HAproxy's inner workings.

      Any help is greatly appreciated. Thank you!

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.