[Ubuntu] Reverse Proxy(역방향프록시) 설정
[Ubuntu] Reverse Proxy(역방향프록시) 설정
2020.01.27# apt-get update # apt-get install apache2 -y # cd /etc/apache2/site-available # vi [도메인주소].conf ex) vi pental.system32.kr.conf ProxyPreserveHost On ProxyPass / http://localhost:[port]/ ProxyPassReverse / http://localhost:[port]/ ServerName [도메인주소] # a2enmod proxy # a2enmod proxy_http # a2ensite [도메인주소].conf # service apache2 restart