NGINX reverse proxy on Ubuntu

To avoid exposing an additional port, AppServer port 2880, you can configure NGINX reverse proxyarrow-up-right.

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

Check the status: https://localhost/wscservice/api?cmd=statusarrow-up-right

Last updated

Was this helpful?