The intended production environment will be utilising an AWS EKS nginx ingress controller so it would be preferable to not require a bespoke build of nginx.
For local development the docker image https://hub.docker.com/r/lautre/nginx-cookie-flag has been installed, which should have the cookie-flag module pre-installed. Both methods suggested in the example at https://geekflare.com/httponly-secure-cookie-nginx/ have been tried, but don't seem to be working:
http {
...
proxy_cookie_path / "/; HTTPOnly; Secure";
...
}
And
server {
...
proxy_cookie_path / "/; HTTPOnly; Secure";
...
}
Specifically the token "atlassian.xsrf.token" is never signed as HttpOnly, this is being generated from a jira plugin within the web app https://confluence.atlassian.com/adminjiracloud/using-the-issue-collector-776636529.html
Questions:
- Most examples found are the same as that above, is the external module the only solution available?
- Does the nginx plus version have this module baked in, allowing to reference by default?