Specifies the configuration information associated with the processing of cookies from the resource server.
The reverse proxy can set a "junction cookie" in returned HTML pages indicating which resource server the page was served from.
This is useful for resource servers which dynamically generate URLs that may not be aware or capable of generating URLs containing the path which the reverse proxy served them from.
Junction Cookie Positions
|httpheader||The junction cookie is returned as a standard HTTP cookie in the HTTP response headers.|
Junction Cookie Versions
|position||string||Values: ||Controls the position in which the |
|version||string||Values: ||Controls how the cookie is set. This option is only valid for the |
|A boolean flag indicating whether or not to insert the resource server path or host to ensure that the cookie is unique.|
|A boolean flag indicating whether or not to preserve the original cookie name. When set to |
resource_servers: - path: "/example" # ... cookies: junction_cookie: position: inhead version: onfocus ensure_unique: true preserve_name: true
Updated almost 2 years ago