WEB & WAS/Apache

debian Apache Reverse Proxy 설정

날았다 고양이 2021. 10. 31. 19:37
반응형

구성환경

debian 10.3

 

1. /etc/apache2/apach2.conf 파일 수정

ProxyPass /examples http://localhost:8080/examples
ProxyPassReverse /examples http://localhost/examples

2. 모듈 활성화

> a2enmod proxy

> a2enmod proxy_http

> systemctl restart apache2

반응형