Answer the question
In order to leave comments, you need to log in
How does proxy_cookie_domain work in nginx?
I need to make sure that the cookies on my domain and subdomain are the same. The domain and subdomain are now in different configs. If necessary, I can transfer to one.
Tried like this "proxy_cookie_domain ~^(.+)(Domain=panel.domain.ru)(.+)$ "$1 Domain=domain.ru $3";" put in both configs, but does not work. What to do?
Answer the question
In order to leave comments, you need to log in
I recommend reading the documentation .
proxy_cookie_domain panel.domain.ru .domain.ru;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question