# Reverse proxy and data directory

**URL:** <https://help.nextcloud.com/t/reverse-proxy-and-data-directory/24603>\
**Category:** ℹ️ Support\
**Created:** [December 11, 2017, 11:09am UTC](https://help.nextcloud.com/t/reverse-proxy-and-data-directory/24603 "2017-12-11T11:09:24Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![meowClown](https://help.nextcloud.com/letter_avatar/meowclown/32/5_5575768a8748004e209b776fc1b2916d.png) [@meowClown](https://help.nextcloud.com/u/meowClown)\
**Post date:** [December 12, 2017, 8:51pm UTC](https://help.nextcloud.com/t/reverse-proxy-and-data-directory/24603/7 "2017-12-12T20:51:20Z")

</div>

Found the problem. In the apache vhost file of the proxy:

```
ProxyPass /nextcloud http://192.168.1.20:8080
ProxyPassReverse /nextcloud http://192.168.1.20:8080

```

instead of

```
ProxyPass /nextcloud http://192.168.1.20:8080/
ProxyPassReverse /nextcloud http://192.168.1.20:8080/

```

The last slashes where to much

---

_[View the full topic](https://help.nextcloud.com/t/reverse-proxy-and-data-directory/24603)._
