We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nginx::resource::upstream { $title: sticky => { 'cookie' => { 'name' => 'srv_id', 'expires' => '7d', 'domain' => 'example.com', 'path' => '/' } }, members => $members, }
code above results in an incorrect sticky directive in upstream.conf:
sticky cookie name=srv_id expires=7d domain=example.com path=/
and a Set-Cookie response header:
Set-Cookie
Set-Cookie: name=srv_id=e4000322f27372a178fcc291d1178b37; expires=...
This will generally not be noticed from a functional point of view, but the name of the cookie is not as expected.
sticky directive in upstream.conf:
sticky cookie srv_id expires=7d domain=example.com path=/
Set-Cookie: srv_id=e4000322f27372a178fcc291d1178b37; expires=...
Syntax for the sticky directive in the nginx documentation:
sticky cookie name [expires=time] [domain=domain] [httponly] [secure] [path=path];
The first parameter sets the name of the cookie to be set or inspected.
The text was updated successfully, but these errors were encountered:
fixed in PR #1286
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
code above results in an incorrect sticky directive in upstream.conf:
and a
Set-Cookie
response header:This will generally not be noticed from a functional point of view, but the name of the cookie is not as expected.
What behaviour did you expect instead
sticky directive in upstream.conf:
and a
Set-Cookie
response header:Any additional information you'd like to impart
Syntax for the sticky directive in the nginx documentation:
The first parameter sets the name of the cookie to be set or inspected.
The text was updated successfully, but these errors were encountered: