Ability to add HAProxy configs per site

Bug #1976176 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Content Cache Charm
Fix Released
High
Haw Loeung

Bug Description

Hi,

Sometimes, it's useful to add additional HAProxy configs per site, e.g. to restrict certain URLs, (in backend backend-cached-*). We should have the ability to do this in the sites config.

Example of such a config:

| backend backend-cached-mysite-local
| acl restricted_page query -m reg ^q=............$
| http-request deny if restricted_page

Related branches

Haw Loeung (hloeung)
description: updated
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Haw Loeung (hloeung)
status: Triaged → In Progress
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: In Progress → Fix Committed
Haw Loeung (hloeung)
Changed in content-cache-charm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.