Fix nginx (for rhel and wordpress problems)

* install: add --with-ld-opt and --with-cc-opt
* conf file: add proxy_set_header X-Forwarded-For and X-Real-IP