Re: Cookie HTTP Only & Secure

2019-03-14 Thread Francis Daly
On Thu, Mar 14, 2019 at 07:32:49PM +0800, Sathish Kumar wrote: Hi there, > To fix Cross site scripting (XSS), I am trying to add below config but I am > not seeing cookie in the response headers. Cookie in the browser still > showing as not secure and not http. Do you see a Set-Cookie: header in

Re: nginx directives geo and map behind proxy

2019-03-14 Thread Francis Daly
On Tue, Mar 12, 2019 at 06:22:30AM -0400, gogan wrote: Hi there, > We want to limit requests with limit_req_zone in gninx. Using it directly > connected to the loadbalancer is fine. It works great, but connections > coming from myracloud are not limited. Guess nginx is evaluating ip address > bef

RE: Cookie path with reverse proxy

2019-03-14 Thread Reinis Rozitis
> Is there a way to set the path of the cookies to /, regardless which GUI is > used? Yes you can make nginx to change the cookie http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cookie_path If the path from the backend app is unknown you can probably use a regex to match every

Cookie path with reverse proxy

2019-03-14 Thread Stefan Meier
I have three different applications running behind a NGINX reverse proxy. They all have a login GUI, which uses the same authentication API. Authentication is based on cookies. My problem is now, that the path's of the cookies are set differently depending on which GUI is used to login. The auth

Cookie HTTP Only & Secure

2019-03-14 Thread Sathish Kumar
Hi All, To fix Cross site scripting (XSS), I am trying to add below config but I am not seeing cookie in the response headers. Cookie in the browser still showing as not secure and not http. We are using Nginx as reverse proxy to Jetty and running a java application on it. Below is the nginx con

Nginx + LUA, how to read the file and set environment variable?

2019-03-14 Thread pb.rakesh90
Hi Team, I would like to know if a way in Nginx to use Lua module to read a value from a file and set enviornment variable. Any help will be appreciated Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283376,283376#msg-283376 ___ nginx mail