Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated language to be non-usage specific

  • Loading branch information...
commit d2a7614b6316cec127bfd5d552e38371a0263593 1 parent b23142d
@stve authored
Showing with 5 additions and 5 deletions.
  1. +4 −4 Readme.md
  2. +1 −1  lib/pow_proxy.rb
View
8 Readme.md
@@ -5,13 +5,13 @@ _Note:_ [Pow 0.4.0](http://pow.cx/manual#section_6) has built in proxying. You p
## Introduction
-PowProxy is a simple rack-based proxy that allows you to run your node apps through [Pow](http://pow.cx).
+PowProxy is a simple rack-based proxy that allows you to run your non-ruby apps (like node, etc.) through [Pow](http://pow.cx).
PowProxy is based on a blog post by [Assaf Arkin](/assaf). It's super easy to use. You really should just read [Assaf's blog post](http://labnotes.org/2011/08/09/using-pow-with-your-node-js-project/) to get the full explanation.
## Installation
- (sudo) gem install pow_proxy
+ gem install pow_proxy
## Usage
@@ -31,8 +31,8 @@ run PowProxy.new(:host => '127.0.0.1', :port => 8080)
You can also set the host and port by exporting the `POW_PROXY_HOST` and `POW_PROXY_PORT` environment variables in your `.powenv`.
-Make sure your node app is running, symlink your app so that Pow knows about it and you'll be all set.
+Make sure your app is running, symlink the app so that Pow knows about it and you'll be all set.
## Copyright
-Copyright (c) 2012 Steve Agalloco, Assaf Arkin. See [LICENSE](https://github.com/spagalloco/pow_proxy/blob/master/LICENSE.md) for details.
+Copyright (c) 2012 Steve Agalloco, Assaf Arkin. See [LICENSE](https://github.com/spagalloco/pow_proxy/blob/master/LICENSE.md) for details.
View
2  lib/pow_proxy.rb
@@ -33,7 +33,7 @@ def call(env)
[response.code, headers, [response.body]]
end
rescue Errno::ECONNREFUSED
- [500, {}, ["Could not establish a connection to #{@host}:#{@port}, make sure your node process is running."]]
+ [500, {}, ["Could not establish a connection to #{@host}:#{@port}, make sure your that the process you are proxying to is running."]]
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.