You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# Statista Proxy
1
+
# Routing Proxy
2
+
3
+
uses HAPROXY under the hood.
2
4
3
5
> route between your legacy and your new application using different strategies
4
6
@@ -8,8 +10,9 @@ set the following environment variables for this container:
8
10
9
11
```bash
10
12
STRATEGY=PERCENTAGE | COOKIE
11
-
OLD_DOMAIN=old.statista.com
12
-
COOKIE_STRATEGY_NAME=my_app_routing=new
13
+
OLD_DOMAIN=old.domain.com:443
14
+
NEW_DOMAIN=new.domain.com:443
15
+
COOKIE_STRATEGY_NAME="my_app_routing=new"
13
16
COOKIE_PERCENTAGE_NAME=my_app_sticky_name
14
17
PERCENTAGE_OLD=70
15
18
PERCENTAGE_NEW=30
@@ -32,8 +35,6 @@ this cookie will taken into account when a forced routing to the new application
32
35
### COOKIE_PERCENTAGE_NAME
33
36
this is the name of the cookie for implementing the sticky session
34
37
35
-
> this cookie needs to be present in our [cookie consent](https://forms.office.com/pages/responsepage.aspx?id=OfiFB67f4U-gaID-j8YfK0gVGkEOyf1NiUPPYqdVPa5UNFFUUVNPSEZNMDVSOExKNDE0NksxQURSMi4u&route=shorturl)
36
-
37
38
### PERCENTAGE_OLD
38
39
how much traffic should be routed to the old application
0 commit comments