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
URL site fixed for reverse proxy installation
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: URL site fixed for reverse proxy installation
There is no configuration for this. The app uses server variable to detect current host.
-
- 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
Is this expected to be developed in future versions?
- support
- Site Admin
- Posts: 6215
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: URL site fixed for reverse proxy installation
Can't see reason for this.
-
- 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
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
//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