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

    HAProxy - Files

    Scheduled Pinned Locked Moved pfSense Packages
    1 Posts 1 Posters 181 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.
    • E
      elucfol
      last edited by

      Hi I need to set up in HAproxy these two lua script (json.lua, auth-request.lua) plus a library (haproxy-lua-http.lua).

      1e887780-bdb2-4627-b0ce-09c25c8220ec-image.png

      If I put in HAproxy in the file section the json.lua script as in the image above and if I also add the haproxy-lua-http library (write to disk) everything works fine and in the general configuration I see this new line:

      c92e16b5-213f-4055-81d7-947b3c95de34-image.png

      json lua script is loaded !

      But when I try to add the new lua script “auth-request.lua” with these dependencies:

      03b17e14-f8d3-4698-b4d5-42ec13cb4442-image.png

      the haproxy configuration brakes and I receive these errors:

      2163d969-3d08-44a7-91ca-184e26b1e8ee-image.png

      I don't understand where the problem is and how to solve it.
      I could not manually add these files to any pfsense folder because of the permissions problem. If I use the “write to disk” function I guess I should find the file somewhere, but I can't find it anywhere!

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