Questions tagged [cookies]

129 questions
0
votes
0 answers

Apache cookie based site access

I store a single cookie in a file and want to retrict access to users who have that specific cookie set (with a specified name) and redirect others (from any page in the site) to my site's root. Since, my site uses a node backend to authenticate…
0
votes
1 answer

Redirecting Users to Specific Files With Cookies

Might be a dumb question, but I hope someone can explain it to me in a simple way for a beginner to understand. Say I had a file only logged in users to my WordPress site are allowed to access. If I use a variable in nginx to redirect logged in…
0
votes
1 answer

Setting SameSite=None on nginx reverse proxy

i got a problem using my nginx pod (on docker) as a reverse proxy when i set cookie rules in my configuration file. Here is my nginx.conf file : events { worker_connections 1024; } http { include /etc/nginx/mime.types; …
Alex B
  • 1
  • 1
0
votes
1 answer

asp.net Secure Cookies behind load balancer

This is a hybrid MVC/webforms asp.net application using framework 4.8, forms authentication and Membership. I need to implement secure cookies. The web site is behind a Coyote load balancer which I do not have access to (and never will have access…
Tom Regan
  • 133
  • 1
  • 8
0
votes
0 answers

How to get nginx to strip cookies except for an allow list?

I'm trying to host sites that use things like WordPress, using nginx as a reverse proxy for PHP-FPM. Often these systems will set all kinds of annoying cookies that are unnecessary and/or the site does not have permission to set. So I'm looking to…
Synchro
  • 2,983
  • 5
  • 25
  • 35
0
votes
1 answer

Nginx fastcgi_cache and kokos-analytics wordpress plugin

I have setup nginx to cache page requests as described in this tutorial. There for looged in users the caching is disabled in this tutorial by an if request as: # Don't use the cache for cookied logged in users or recent commenters if ($http_cookie…
mathse
  • 3
  • 1
0
votes
1 answer

NGINX load balancing hash: use cookie value if present, ip_hash if not

I'm trying to figure out how to do some if-else logic in NGINX's upstream load-balancing directive. Basically, I'd like to use the method: hash $cookie_my_cookie_name consistent; ... if the cookie (my_cookie_name) is present. If that cookie is not…
mmuurr
  • 125
  • 5
0
votes
1 answer

HAProxy 1.5 - Show Server Name or IP Address in response while behind DNS

Basically exactly what the title is. I have haproxy fronting a server, and infront of that a DNS to provide a human readable name. I would like to setup haproxy to include either the responding server name or IP address in the response. …
SVill
  • 77
  • 3
  • 13
0
votes
0 answers

nginx reverse proxy to Oracle ORDS/APEX - how are cookies set?

Using nginx to reverse proxy to Oracle's "Always Free Tier" in Autonomous Database which provides ORDS which connects to APEX in the database. Mainly because Oracle doesn't support vanity URL's and their baseline url is horribly ugly in their adb…
user3249281
  • 185
  • 1
  • 10
1 2 3
8
9