[httpd] 리버스 프록시를 설정 방법 [Apache HTTP Server에서 요청을 다른 포트로 전달하는 방법]
·
▣ Server/Apache HTTP Server🛡️
- 리버스 프록시를 설정 방법etc/httpd/conf/httpd.conf 또는 /etc/apache2/sites-available/000-default.conf와 같은 Apache 설정 파일을 편집하면 된다. ServerAdmin webmaster@localhost DocumentRoot /var/www/html # ======================== # 리버스 프록시 설정 # ======================== # /test1 경로로 들어오는 요청은 127.0.0.1:8080 로 전달 ProxyPass /test1 http://127.0.0.1:8080/ ProxyPassReverse /test1 http://127.0.0.1:808..