haproxy: intercept all cookies and set secure attribute

1 · RvE · Feb. 1, 2014, midnight
This snippet shows you how to use haproxy to set the secure attribute on cookies. You might have a backend application which is not able to set the secure attribute on cookies or for which haproxy does the ssl offloading. This simple frontend rspirep sets the secure attribute for all cookies....