steedos / steedos-accounts

华炎魔方账户管理
2 stars 1 forks source link

session中记录的ip不准确 #76

Closed baozhoutao closed 4 years ago

baozhoutao commented 4 years ago

需要改nginx配置: location / { proxy_set_header Host $host; proxy_set_header X-real-ip $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }