如果使用nginx转发，需要进行以下设置：

	listen       80;
        server_name  webpascal.com;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
            proxy_pass http://localhost:8833;
            proxy_redirect off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Real-Port $remote_port;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }

注意：在nginx转发的情况下，获取客户端ip应该由CLIENT.IP改为REQUEST.FORWARDEDFOR进行获取，或者从request.header中获取X-Real-IP