본문 바로가기

BackEnd/Spring

한 서버에 프로젝트 2개배포

반응형

path가 같으면 실행이 안된다..한서버에 프로젝트의 path는 같게 못하는것인가

 

  <Context docBase="dokky" path="/" reloadable="true" />

  <Context docBase="superAdmin" path="/" reloadable="true" />

 

  위처럼하면 아래와 같은 오류가 나와서

 

  Service Unavailable

  The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

  Please try again later.

  Apache/2.4.29 (Ubuntu) Server at dokky.ga Port 443

 

  아래처럼 설정하면

 

  <Context docBase="dokky" path="/" reloadable="true" />

  <Context docBase="superAdmin" path="/superAdmin" reloadable="true" />

 

  https://dokky.ga/superAdmin/superLogin -접속됨

  https://dokky.ga/superLogin - 접속안됨

반응형

'BackEnd > Spring' 카테고리의 다른 글

sockets  (0) 2020.06.27
유닛 테스트  (0) 2020.05.08
스프링 mvc 프로젝트의 기본구성  (0) 2020.02.10
http 에러코드  (0) 2020.02.10
Controller 작성시 예외 상황  (0) 2020.02.09