nginx代理后获取真实IP配置nginx后,重启出现unknown directive " 解决
看过很多说要转义编译错,替换本地为UTF-8不生效的情况1、修改为获取真实Nginx配置后proxy_set_header Host $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header REMOTE-HOST $remote_addr;proxy_set_header X-Forwarded-F...