Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haproxy: Cookie based staging environment #443

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

quartje
Copy link
Contributor

@quartje quartje commented Oct 26, 2023

If you want to add a staging server (to test new features) you can set the cookie staging=true. If that is present, and you've added a list of servers to the key stagingservers in haproxy_applications that staging server will be used as a backend

We are planning to add the setting of the cookie in Profile and eduID.
To test, you can set in any Apache configuration of you app:

Header always set Set-Cookie "staging=true; path=/; domain=.test2.surfconext.nl; secure; HttpOnly"

If you want to add a staging server (to test new features) you can set
the cookie staging=true. If that is present,  and you've added a list of
servers to the key stagingservers in haproxy_applications that staging
server will be used as a backend
@quartje quartje requested a review from thijskh October 26, 2023 13:43
@quartje quartje force-pushed the feature/haproxy_add_staging_option branch from bfe5c6e to 06a0493 Compare October 30, 2023 07:01
@quartje quartje merged commit f0d97eb into master Nov 1, 2023
5 checks passed
@quartje quartje deleted the feature/haproxy_add_staging_option branch November 1, 2023 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants