Skip to content

Instantly share code, notes, and snippets.

View shou65's full-sized avatar

收留我 shou65

  • 杭州搜留信息技术有限公司
  • 杭州
View GitHub Profile
@hipertracker
hipertracker / gist:214210
Created October 20, 2009 12:05
NGinx -> TorqueBox
/etc/hosts:
127.0.0.1 myhost jboss_server
NGINX:
server {
listen myhost:80;
server_name myhost;
location / {
proxy_set_header X-Real-IP $remote_addr;