update readme

This commit is contained in:
ghost 2024-05-02 19:01:56 +03:00
parent 20b4fc87e3
commit 2be16e23de

View File

@ -63,13 +63,13 @@ WantedBy=multi-user.target
## Proxy
Like [NEX Protocol](https://nightfall.city/nex/info/specification.txt), NPS data could be simply passed using any proxy server that support TCP forwarding
Like [NEX Protocol](https://nightfall.city/nex/info/specification.txt), NPS data could be simply forwarded using any proxy server that support TCP streams
### Nginx
1. `sudo nano /etc/nginx/nginx.conf`
```
# /etc/nginx/nginx.conf
``` /etc/nginx/nginx.conf
stream {
server {
listen 1915;
@ -78,8 +78,6 @@ stream {
}
```
2. `sudo systemctl restart nginx`
## Clients
* `nc 127.0.0.1 1915` - IPv4 only, install `netcat-openbsd` to add IPv6 support