Skip to main content

pfSense + HAProxy

info
  • Please join the Discord server before reporting an issue with your reverse proxy setup on GitHub.
  • Audiobookshelf requires a websocket connection.
  • Using a subfolder is supported with no additional changes but the path must be /audiobookshelf (this is not changeable). See discussion
  • Why do I need to set up my own remote access?

For pfSense the inputs are graphical, and Health checking is enabled.

Access Control Lists

NameExpressionCSNotValue
audiobookshelfHost starts with:audiobookshelf.

Actions

The condition acl names needs to match the name above audiobookshelf.

ActionParametersCondition acl names
Use Backendaudiobookshelfaudiobookshelf

Backend

The Name needs to match the Parameters above audiobookshelf.

Nameaudiobookshelf

Server list

NameExpressionCSNotValue
audiobookshelfHost starts with:audiobookshelf.

Health checking

Health checking is enabled by default. Http check method of OPTIONS is not supported on Audiobookshelf. If Health check fails, data will not be forwarded. Need to do one of following:

  • To disable: Change Health check method to none.
  • To make Health checking function: Change Http check method to HEAD or GET.