globo
By:
globo

Nginx server and Apache2 server

February 22, 2017 247 views
Apache Nginx Ubuntu 16.04

configure Nginx in DMZ (reverse proxy) and Apache2 in another VLAN. All is ok, I could navigate in application (owncloud), but when I click on disconnect in web app, I have a time out, and the ip of apache2 server apears in url...
Whats wrong??
Servers are on Ubuntu 16.04, owncloud 9.1
Thanks for your help

2 Answers

You need to set overwritehost in owncloud to avoid that, because owncloud has automatic hostname detection:
https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/config_sample_php_parameters.html#proxy-configurations
The was a bug on this as well:
https://github.com/owncloud/core/issues/17201

Nice, and thanks a lot. That works... Great

Have another answer? Share your knowledge.