To avoid exposing an additional port, AppServer port 2880, you can configure NGINX reverse proxy.
1. Open default site configuration file.
2. Inside server {} block and add the next rule:
location /wscservice/api/ { proxy_pass http://your_host:2880; } |
3. Save file and restart NGINX.
systemctl restart nginx |
4. In your browser, check version and status of AppServer to verify if it works properly.