yahns.git  about / heads / tags
sleepy, multi-threaded, non-blocking application server for Ruby
blob 63ee6d92691dbdb5c997d044b793f682e2e0a830 475 bytes (raw)
$ git show HEAD:examples/proxy_pass.ru	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
# To the extent possible under law, Eric Wong has waived all copyright and
# related or neighboring rights to this example.
#
# See examples/https_proxy_pass.conf.rb for the complementary rackup file
# <https://yhbt.net/yahns.git/tree/examples/https_proxy_pass.conf.rb>

# optionally, intercept static requests with Rack::Static middleware:
# use Rack::Static, root: '/path/to/public', gzip: true

require 'yahns/proxy_pass'
run Yahns::ProxyPass.new('http://127.0.0.1:6081')

git clone git://yhbt.net/yahns.git
git clone https://yhbt.net/yahns.git