OpenConext / OpenConext-deploy

Ansible-based deployment automation for the OpenConext platform
Apache License 2.0
12 stars 21 forks source link

Haproxy: Cookie based staging environment #443

Closed quartje closed 10 months ago

quartje commented 10 months ago

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"