Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit c77c055

Browse files
committed
Add nginx readme
1 parent 3c8a7e0 commit c77c055

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ The application can be built using `docker-compose up --build`.
7070

7171
There are several interlinking services orchestrated in individual containers: `db` (the postgresql instance), `backend` (the Rails api), `frontend` (the React application) and finally the `nginx` proxy container which pulls everything together and which is the only container which exposes any ports to the host machine.
7272

73+
The nginx conf can be found at `/config/nginx/nginx.conf`.
74+
7375
The Rails application is proxied from port `3000` to `http://localhost:8080/api` and the Webpack / React application is proxied from port `4000` to the root at `http://localhost:8080/`.
7476

7577
The React application was originally created using `create-react-app` but was ejected to expose the full configuration.

0 commit comments

Comments
 (0)