# Running Cells behind an Apache reverse proxy

**URL:** <https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879>\
**Category:** Pydio Cells\
**Created:** [October 25, 2019, 1:12pm UTC](https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879 "2019-10-25T13:12:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eoltd.it](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@eoltd.it](https://forum.pydio.com/u/eoltd.it)\
**Post date:** [October 25, 2019, 1:12pm UTC](https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879/1 "2019-10-25T13:12:11Z")

</div>

hi,  
the login page required from the proxy server remains blocked.

the browser console reports:  
login:1 Access to fetch at ‘[http://xxx.xxx.xxx.xxx:8080/plug/gui.ajax/res/build/pydio.min.js?v=c822d61f0ac40d85b7a5785e196c94c4](http://xxx.xxx.xxx.xxx:8080/plug/gui.ajax/res/build/pydio.min.js?v=c822d61f0ac40d85b7a5785e196c94c4)’ from origin ‘[http://xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx)’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

pydio works normally if you use the installation url xxx.xxx.xxx.xxx:8080

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/a/a3ce425600eb4b2ed4beebe9f0ef09a7cda0232c.png)

GM

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [October 28, 2019, 2:32pm UTC](https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879/2 "2019-10-28T14:32:58Z")

</div>

Hello, this usually comes from a misconfiguration in the public URL you define in Cells.

is the public URL (see `defaults.url` property of your `~/.config/pydio/cells/pydio.json` config file) the exact same URL as the one that is served by your reverse proxy ?

---

<div class="post-metadata">

**Author:** ![eoltd.it](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@eoltd.it](https://forum.pydio.com/u/eoltd.it)\
**Post date:** [October 28, 2019, 3:45pm UTC](https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879/3 "2019-10-28T15:45:01Z")

</div>

hi bsinou,

the ip address are the same in json file and in apache configuration,

but the browser remains blocked with the error as in the previous image.  
pydio and apache are in different machines and communicate only on the public network.

how can you solve it? thanks

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [December 19, 2019, 12:58pm UTC](https://forum.pydio.com/t/running-cells-behind-an-apache-reverse-proxy/2879/4 "2019-12-19T12:58:37Z")

</div>

Hi,

In pydio.json the value of URL should be the “final” url (the one which is hosted in apache reverse proxy)  
for example: [http://xxx.xxx.xxx.xxx](http://xxx.xxx.xxx.xxx/) (without 8080)

You can use `./cells config proxy url` or `./cells-enterprise config proxy url` to change the url
