https://github.com/marcvspt/wschat
WebSocket example through Nginx reverse proxy
https://github.com/marcvspt/wschat
docker nginx websocket
Last synced: 2 months ago
JSON representation
WebSocket example through Nginx reverse proxy
- Host: GitHub
- URL: https://github.com/marcvspt/wschat
- Owner: marcvspt
- Created: 2023-07-21T23:40:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T10:00:40.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T06:44:28.053Z (over 1 year ago)
- Topics: docker, nginx, websocket
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebSocket: simple chat through Nginx reverse proxy with Docker-Compose
## Deploy project
```
git clone https://github.com/marcvspt/wschat
cd wschat/
```
### Nginx config files
We need modify the `.conf` files and the `.js` file in frontend, put your own domain:
* [**default.conf**](revproxy/default.conf)
* [**backend.conf**](revproxy/backend.conf)
* [**frontend index.js**](frontend/index.js)
Later run the compose.
```bash
docker-compose up -d
```