Sha256: 541e3ead70c381b64d9152d62a1fa596bfbf659c574fc845f6848aea71876e8e
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
# Wovn::ReverseProxy Translation proxy by wovnrb. ## Installation $ gem install wovn-reverse_proxy $ wovnrp ## Usage ### Apache HTTP server ``` ProxyPass / http://localhost:4567/ ProxyPassReverse / http://localhost:4567/ ProxyPreserveHost on RequestHeader set X_WOVN_HOST http://localhost:3000 RequestHeader set X_WOVN_USER_TOKEN IRb6- RequestHeader set X_WOVN_SECRET_KEY secret ``` ### nginx ``` proxy_pass http://localhost:4567; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Wovn-Host http://localhost:3000; proxy_set_header X-Wovn-User-Token IRb6-; proxy_set_header X-Wovn-Secret-Key secret; ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/masiuchi/wovn-reverse_proxy.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wovn-reverse_proxy-0.0.1 | README.md |