server {
listen 80;
server_name yyy.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://xxx.com/adb/;
}
}
var a = {
name: "Vasia"
};
var b = {
name: "Petia"
};
var string_a = JSON.stringify(a);
var string_b = JSON.stringify(b);
string_a === string_b; // false
var moe = {name : 'moe', luckyNumbers : [13, 27, 34]};
var clone = {name : 'moe', luckyNumbers : [13, 27, 34]};
// false
moe == clone;
// true
_.isEqual(moe, clone);