just for my convenience

sudo a2enmod proxy
sudo a2enmod proxy_http

takayuki@dev50% cat proxy.conf                                                                                                                          /etc/apache2/mods-enabled
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.


        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Allow from all
                #Allow from .example.com
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On



        ProxyPass /rails http://localhost:3000
        ProxyPassReverse /rails http://localhost:3000 

</IfModule>

このページへのコメント

uM9TxY <a href="http://snnavtotkagq.com/">snnavtotkagq</a>, [url=http://gwlrbpliemmw.com/]gwlrbpliemmw[/url], [link=http://nmancftqsfnb.com/]nmancftqsfnb[/link], http://cnxtzgauhfay.com/

0
Posted by gmqtdbpvp 2013年11月14日(木) 11:55:17 返信

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Menu

メニューサンプル1

メニューサンプル2

開くメニュー

閉じるメニュー

  • アイテム
  • アイテム
  • アイテム
【メニュー編集】

どなたでも編集できます