mirror of
https://github.com/kevachat/npsapp.git
synced 2025-01-15 01:20:31 +00:00
update readme
This commit is contained in:
parent
20b4fc87e3
commit
2be16e23de
@ -63,13 +63,13 @@ WantedBy=multi-user.target
|
|||||||
|
|
||||||
## Proxy
|
## 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
|
### Nginx
|
||||||
|
|
||||||
1. `sudo nano /etc/nginx/nginx.conf`
|
```
|
||||||
|
# /etc/nginx/nginx.conf
|
||||||
|
|
||||||
``` /etc/nginx/nginx.conf
|
|
||||||
stream {
|
stream {
|
||||||
server {
|
server {
|
||||||
listen 1915;
|
listen 1915;
|
||||||
@ -78,8 +78,6 @@ stream {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
2. `sudo systemctl restart nginx`
|
|
||||||
|
|
||||||
## Clients
|
## Clients
|
||||||
|
|
||||||
* `nc 127.0.0.1 1915` - IPv4 only, install `netcat-openbsd` to add IPv6 support
|
* `nc 127.0.0.1 1915` - IPv4 only, install `netcat-openbsd` to add IPv6 support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user