Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
huoyijie authored Sep 4, 2023
1 parent f5f9d66 commit 89d82c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ See `.github/workflows/nextjs.yml`

* NEXT_PUBLIC_SOCKETIO_URL=ws://localhost:5000

If your backend server is deployed behind nginx with ssl/http2 enabled, you shoud forward the websocket upgrade request from nginx to backend server, and you shoud config `NEXT_PUBLIC_SOCKETIO_URL=wss://your_domain`.
If your backend server is deployed behind nginx with tls enabled, you shoud forward the websocket upgrade request from nginx to backend server, and you shoud config `NEXT_PUBLIC_SOCKETIO_URL=wss://your_domain`.

* NEXT_PUBLIC_BASE_PATH=/

If your backend server configed with `BASH_PATH=/infinity`, then you shoud config `NEXT_PUBLIC_BASE_PATH=/infinity` too.
If your backend server configed with `BASH_PATH=/infinity`, then you shoud config `NEXT_PUBLIC_BASE_PATH=/infinity` too.

0 comments on commit 89d82c5

Please sign in to comment.