Hello! I need your help to remove certain cookies from the HTTP headers. I have three cookies in the HTTP headers, but I would like to remove 2 of them; cookie1 and cookie2, meanwhile cookie3 should be passed on to the client. map $http_cookie $pass_cookie { default 0; ~cookie3 1; } .. server { if ($http_cookie !~ (cookie1|cookie2)) { fastcgi_hide_header $http_cookie {by alexscott - How to...
Hello! I'm sorry to bother the forum with these kind of questions, but I simply can't figure out what I'm doing wrong here: When I access sub.domain.net/ I still get the 502 error instead of being served from the /somefolder/stuff folder?.... server { listen 80; server_name sub.domain.net; location = / { root /somefolder/stuff; index index.html index.htm; } location / { reby alexscott - Nginx Mailing List - English
The upstream server is able to handle all requests if necessary. So will you still suggest keepalive 1; for such a config or do you have any other ideas as well?by alexscott - Nginx Mailing List - English
Hi Maxim, thank you very much. What would you suggest to set keepalive connections to, if I'm going to keep a persistent connection to a remote website, with Nginx being setup as a proxy caching server? Br., Alex.by alexscott - Nginx Mailing List - English
Ahh, sorry for my stupidity!! Anyway - the patches that's attached to this topic - are they patched in the devel release of nginx as well? Also can the module support HTTP connections currently? Br., Alex.by alexscott - Nginx Mailing List - English
Hi Maxim, when is it possible to use this module for a proxy server like keeping the connection persistent for proxy_pass "http://google.com"; ? Br., Alex.by alexscott - Nginx Mailing List - English