Project

General

Profile

Actions

Feature #4897

closed

Use errorfiles with frontend(s) via UI

Added by Colin Wilson almost 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
07/28/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

HAProxy currently allows you to define errorfiles for use with backend server pools.

It would be great to be able to to use these same errorfiles with frontends too via the UI.

For example; I'm currently using an Advanced pass thru rule on my primary frontend to deny /.git access on all attached shared frontends (serving web server backends). The default 403 forbidden page is served when any request is made for /.git.

I'd like to serve a custom error page for 403 on the frontend using a template created in the files tab.

Actions #1

Updated by Pi Ba over 9 years ago

Checkout new haproxy-devel package v0.33, it is now be possible.

Actions #2

Updated by Chris Buechler over 9 years ago

  • Category set to haproxy
  • Status changed from New to Resolved

Thanks PiBa

Actions

Also available in: Atom PDF