
Ubuntu 14.04.2 서버에 Apache와 Wildfly가 설치되어 있고 Apache가 Wildfly를 프록시하도록 역방향 프록시를 만들었습니다. 작동하지만 절반만 작동합니다. 누르면 http://myserver/wildfly/myprogram/index.xthml
항목 페이지가 표시되지만 링크가 제대로 적용되지 않습니다. 링크와 이미지 출처는http://myserver
/wildfly/myprogram/
항목은 다음과 같습니다: http://myserver/myprogram/
. 내 구성에 누락된 부분이 있는 것이 틀림없다고 생각합니다. 파일 에 다음 줄을 추가했습니다 /etc/apache2/apache2.conf
.
ProxyRequests Off
ProxyPass /wildfly http://localhost:8080
ProxyPassReverse /wildfly http://localhost:8080
/wildfly
기본적으로 작동하는 링크를 사용하여 Apache에게 모든 링크를 포함하도록 어떻게 지시할 수 있습니까 ?