HAProxy Map Files
-
On the Files tab in HAProxy settings there’s an option for “write to disk”. I tried using this (like I do with lua scripts) to put a file locally on pfS’s disk to use as a map. But after creating the file in the webgui, it’s not on disk like my lua and custom error files. I searched the full filesystem for the name.
Where does the file get written and how do I reference it / what path to use inside my ACLs?
Looking to use something like this, which does work if I manually upload my map file to an arbitrary directory. The file gets removed on reboot, though, as expected for manual uploads.
%[txn(host), lower, map(/var/etc/myMap.map)]
-
@bfu Hello, I am having the same issue. Were you ever able to find a solution?
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.