|
@@ -27,8 +27,7 @@ To get involved, [contact MEDLab](mailto:medlab@colorado.edu).
|
|
2. We need to replace this folder in cloudrun environment /app/data/public/ under _site folder
|
|
2. We need to replace this folder in cloudrun environment /app/data/public/ under _site folder
|
|
3. For Frontend the server is Apache which is responsible for delivering the htmls
|
|
3. For Frontend the server is Apache which is responsible for delivering the htmls
|
|
4. In order to make the apache deliver made following changes in app.conf which will redirect the backend calls to the 3000 port where our code is running. Frontend is making calls to backend on :3000 port on local host hence following are the lines we changed in /app/data/apache/app.conf
|
|
4. In order to make the apache deliver made following changes in app.conf which will redirect the backend calls to the 3000 port where our code is running. Frontend is making calls to backend on :3000 port on local host hence following are the lines we changed in /app/data/apache/app.conf
|
|
- ProxyPass /api http://localhost:3000/api
|
|
|
|
- ProxyPassReverse /api http://localhost:3000/api
|
|
|
|
-
|
|
|
|
- Alias / /app/data/public/_site/
|
|
|
|
- Alias /templates/ /app/data/public/_site/templates/
|
|
|
|
|
|
+ `ProxyPass /api http://localhost:3000/api`
|
|
|
|
+ `ProxyPassReverse /api http://localhost:3000/api`
|
|
|
|
+ `Alias / /app/data/public/_site/`
|
|
|
|
+ `Alias /templates/ /app/data/public/_site/templates/`
|