Project

General

Profile

Actions

Feature #4897

closed

Use errorfiles with frontend(s) via UI

Added by Colin Wilson about 10 years ago. Updated almost 10 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

Also available in: Atom PDF