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

    HAProxy mappings

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 342 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.
    • P
      papdee
      last edited by

      Need help mapping below into HAProxy backend:

      acl existing-x-forwarded-host req.hdr(X-Forwarded-Host) -m found
      http-request add-header X-Forwarded-Host %[req.hdr(Host)]/documentserver-virtual-path unless existing-x-forwarded-host
      reqrep ^([^\ :])\ /documentserver-virtual-path/(.) \1\ /\2
      server onlyoffice-documentserver backendserver-address:80

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