Ubuntu12.04 Apache Reverse Proxy 셋팅

http://abhirama.wordpress.com/2008/11/03/apache-mod_proxy-in-ubuntu/

1. reverse_proxy module 설치

sudo apt-get install libapache2-mod-proxy-html libxml2-dev

2. 모듈 로드하기

sudo a2enmod proxy proxy_html

3. 아파치 설정에 추가하기 ( 버추어 호스트에 추가하는 경우가 많음)

ProxyPass / http://192.168.0.99:8080/
ProxyPassReverse / http://192.168.0.99:8080/
ProxyRequests Off

아파치 재시작 하면 끝.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

 characters available