ユーザ用ツール

サイト用ツール


apache:proxy

文書の過去の版を表示しています。


Reverse Proxy

プロキシサーバの ~/redmine にアクセスしたら、SERVERサーバの ~/redmine に転送する

LoadModule proxy_http_module modules/mod_proxy_http.so

ProxyPass /redmine http://SERVER/redmine
ProxyPassReverse /proxy http://SERVER/redmine
ProxyRequests Off

SSL通信も設定する場合は、以下。

LoadModule headers_module modules/mod_headers.so
~省略~

<VirtualHost *:443>
    ~省略~

    SSLProxyEngine on
    
    RequestHeader set X_FORWARDED_PROTO 'https'
    ProxyPass /redmine http://ikt-ml01/redmine
    ProxyPassReverse /proxy http://ikt-ml01/redmine
    ProxyRequests Off
</VirtualHost>
apache/proxy.1445330145.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)