Page 1 of 1

URL site fixed for reverse proxy installation

Posted: 31 Jul 2018, 00:03
by rorosa
Where can I set the URL site? I have a reverse proxy installation and when I come in Rukovoditel it rewrites to localhost:81, and it should rewrite to https://project.covline.es/rukovoditel

Many thanks in advance

Re: URL site fixed for reverse proxy installation

Posted: 31 Jul 2018, 20:40
by support
There is no configuration for this. The app uses server variable to detect current host.

Re: URL site fixed for reverse proxy installation

Posted: 31 Jul 2018, 20:45
by rorosa
Is this expected to be developed in future versions?

Re: URL site fixed for reverse proxy installation

Posted: 31 Jul 2018, 22:10
by support
Can't see reason for this.

Re: URL site fixed for reverse proxy installation

Posted: 31 Jul 2018, 22:55
by rorosa
It should be the same than this one:
//Configure server host to build urls correctly in cron
//Enter [http or https]+[domainname]+[catalog] for example: https://mycompany.com/mypm/
define('CRON_HTTP_SERVER_HOST','http://localhost/rukovoditel/product_v1.9/');

But to build url correctly in app.

I have the typical environment when you publish app over Internet. It is a DMZ to distribute the incoming connections, and

Is not it possible to define the URL site? In php is this: $_SERVER["DOCUMENT_ROOT"], normally defined as ROOT_PATH