URL site fixed for reverse proxy installation

Post Reply
rorosa
Posts: 3
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 » 31 Jul 2018, 00:03

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: 1383
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: URL site fixed for reverse proxy installation

Post by support » 31 Jul 2018, 20:40

There is no configuration for this. The app uses server variable to detect current host.

rorosa
Posts: 3
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 » 31 Jul 2018, 20:45

Is this expected to be developed in future versions?

User avatar
support
Site Admin
Posts: 1383
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: URL site fixed for reverse proxy installation

Post by support » 31 Jul 2018, 22:10

Can't see reason for this.

rorosa
Posts: 3
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 » 31 Jul 2018, 22:55

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