> For the complete documentation index, see [llms.txt](https://docs.wproofreader.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wproofreader.com/v6.11.1/deployment/configuration/web-server/reverse-proxy-setup-to-avoid-exposing-2880-port/nginx-reverse-proxy-on-ubuntu.md).

# NGINX reverse proxy on Ubuntu

To avoid exposing an additional port, AppServer port 2880, you can configure [NGINX reverse proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/).

1\. Open default site configuration file.

2\. Inside **server {}** block and add the next rule:

```javascript
location /wscservice/api {
	proxy_pass http://your_host:2880;
}
```

3\. Save file and restart NGINX.

```javascript
systemctl restart nginx
```

Check the **status**: [https://localhost/wscservice/api?cmd=status](https://your_host/wscservice/api/?cmd=ver)
