-
Notifications
You must be signed in to change notification settings - Fork 0
Reverse Proxy
Peng Xiao edited this page Dec 5, 2023
·
2 revisions
ZenUML's homepage and documentation are hosted on Cloudflare Pages, accessible at https://zenuml.com/, while ZenUML's Web App, powered by a Laravel Server, is run on AWS Lightsail instances on a separate domain: https://sequence-diagram.zenuml.com/. To enhance our SEO, we intend for the Web App to operate under the same root domain, necessitating the implementation of a Reverse Proxy.
The succeeding table outlines the proposed mapping of URLs. Please note that sequence-diagram is abbreviated as seq-dia:
| browser url (zenuml.com) | server url (seq-dia.zenuml.com) | Note |
|---|---|---|
| /seq-dia | / | request without /
|
| /seq-dia/embed | /embed | to be verified |
| /seq-dia/share/xxx | /share/xxx | browser renders iframe src=../embed (/seq-dia/embed) -proxy to-> /embed |
| /diagrams/xxx | /diagrams/xxx | to be verified |
| /fonts/xxx | /fonts/xxx | static resources loaded from page |
| /vendor/xxx | /vendor/xxx | static resources loaded from page |
| /image/xxx | /image/xxx | future |
| /login | /login | login |
| /auth/xxx | /auth/xxx | authentication |
| /public-diagrams | public-diagrams | future |