URL site fixed for reverse proxy installation

Post Reply
rorosa
Posts: 4
Joined: 31 Jul 2018, 00:01
Name: Ricardo Orosa
Location: Spain Madrid
Company Name: Covline
Contact:

URL site fixed for reverse proxy installation

Post 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
User avatar
support
Site Admin
Posts: 6214
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: URL site fixed for reverse proxy installation

Post by support »

There is no configuration for this. The app uses server variable to detect current host.
rorosa
Posts: 4
Joined: 31 Jul 2018, 00:01
Name: Ricardo Orosa
Location: Spain Madrid
Company Name: Covline
Contact:

Re: URL site fixed for reverse proxy installation

Post by rorosa »

Is this expected to be developed in future versions?
User avatar
support
Site Admin
Posts: 6214
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: URL site fixed for reverse proxy installation

Post by support »

Can't see reason for this.
rorosa
Posts: 4
Joined: 31 Jul 2018, 00:01
Name: Ricardo Orosa
Location: Spain Madrid
Company Name: Covline
Contact:

Re: URL site fixed for reverse proxy installation

Post 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
Post Reply