HAProxy - Shared Front End but Do not Use CSP
-
Hi, I'm sure this is a basic question but I can't easily find the answer. I have HAProxy set up with a shared front end and two back ends. Everything works ok except that:
For one backend i want to use a fairly strict CSP that blocks the second backend from working. I don't see how to tell HAProxy to only use the CSP for one back end.
I tried ordering the Actions in the share frontend to be
Backend 1
CSP
Backend 2but the CSP is still used on Backend 2. I tried creating a separate frontend for backend 2 but that causes problems because the two frontends are using the same WAN IP.
I seem so close to achieving what i want but i can't see the answer. Grateful for any guidance on which i am sure is a very basic issue. Cheers
-
yeah - knew it must be a stupid question. found the option to add the CSP to the specific backend rather than in the shared frontend. all good
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy