NGINX reverse proxy on Ubuntu
location /wscservice/api {
proxy_pass http://your_host:2880;
}systemctl restart nginxWas this helpful?
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 nginxCheck the status: https://localhost/wscservice/api?cmd=status
Was this helpful?
Was this helpful?

