假设有两个域名:a.com.cn;b.a.com.cn;两个域名如何共享cookie?
server {
listen 80;
server_name a.com.cn;
location / {
proxy_pass http://ip1:port1;
}
}
server {
listen 80;
server_name b.a.com.cn;
location / {
proxy_pass http://ip2:port2;
}
}
慕设计2395807