From f09e3c0ec40c777a2e2de6bc0c71e75a57f7d357 Mon Sep 17 00:00:00 2001 From: ghost Date: Thu, 2 May 2024 18:51:07 +0300 Subject: [PATCH] update readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 50fa240..fd0b6e4 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,25 @@ To read messages, use KevaChat [webapp](https://github.com/kevachat/webapp), [ge * `php src/app.php name.json` - where `name.json` argument is any config, placed at `config` folder +## 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 + +### Nginx + +* `sudo nano /etc/nginx/nginx.conf` + +``` /etc/nginx/nginx.conf +stream { + server { + listen 1915; + proxy_pass 127.0.0.1:1915; + } +} +``` + +* `sudo service nginx restart` + ### Autostart Launch server as the `systemd` service