gateway / game channel 분리 #185

Open
opened 2020-05-26 11:19:53 +09:00 by Hide_D · 0 comments
Owner

두개 repository 분리하고,
개별 업데이트 적용

단 서브 도메인 분리는 아직 고민해보기로 하고

/public 만 공유하는 형태로 생각해보자.

예상 경로

  • /var/www/html/sam

    • / -> gate로 redirect
    • /gate - gateway
    • /gate/api/ - gateway
    • /che/*.html - che
    • /che/api/ - che
    • /hwe/*.html - hwe
    • /hwe/api/ -hwe
  • /var/www/gateway

    • gateway 실제 repository
  • /var/www/gateway/public

    • symlink (/var/www/html/gate)
  • /var/www/che

    • che 실제 repository
  • /var/www/che/public

    • symlink (/var/www/html/che)

gateway와 각 서버들은 추후를 대비해 sso로 연결하고 session도 분리
나중에 공유가 필요하다면 redis 정도를 써보고.

두개 repository 분리하고, 개별 업데이트 적용 단 서브 도메인 분리는 아직 고민해보기로 하고 /public 만 공유하는 형태로 생각해보자. 예상 경로 - `/var/www/html/sam` - `/` -> gate로 redirect - `/gate` - gateway - `/gate/api/` - gateway - `/che/*.html` - che - `/che/api/` - che - `/hwe/*.html` - hwe - `/hwe/api/` -hwe - `/var/www/gateway` - gateway 실제 repository - `/var/www/gateway/public` - symlink (`/var/www/html/gate`) - `/var/www/che` - che 실제 repository - `/var/www/che/public` - symlink (`/var/www/html/che`) gateway와 각 서버들은 추후를 대비해 sso로 연결하고 session도 분리 나중에 공유가 필요하다면 redis 정도를 써보고.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devsam/core#185