nginx configuration and cookie issues
代言
代言 2017-07-03 11:43:15
0
1
904

Now the server has set a cookie that can only be accessed by a specific domain name. The domain field is set, for example (123.207.70.98), and httpOnly is true

When I debug locally, it is localhost and I cannot access the cookies set on the server. Can this problem be solved through nginx?

The domain name is not configured. I want to configure it as IP. How to do it?

The previous idea was that the domain name pointed to 123.207.70.98, and then local hosts hijacked the domain name to localhost or 127.0.0.1

Then access the domain name locally. Can you access the response cookie?

代言
代言

reply all(1)
小葫芦

You can modify the local hosts to change the domain name corresponding to nginx to 127.0.0.1, so that you can use the domain name to access the local system

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template