Accessing Mail Piler thru an HTTP Proxy

Issue #1065 closed
Jorge Gomes created an issue

Hi Janos,

I want to be able to access the WebGUI through a Reverse HTTP Proxy since my users are now offsite.

I’ve configured the MailPiler with and internal FQDN, like ‘mailarchive.dc.internal’, since I didn’t have plans for it to be accessible on the outside, but now I need it.

So, I’ve configured our HTPproxy to proxy to it, but, after the page login it changes the URL to its default one, and of course, that fails.

Outside URL is : mailarchive.domain.com – works to access the login page

Internal URL is: mailarchive.dc.internal

I’ve tried to add the ‘ServerAlias’ to the HTTP conf file but still doesn’t work.

What else needs to be done in order to make this work??

Regards and thank you.

JG

Comments (4)

  1. Jorge Gomes reporter

    Tried to use this config var:

    \$config['EXTERNAL_DASHBOARD_URL'] = 'http://mailarchive.domain.com';

    But with no success.

    If, after the logon, I edit the URL manually, I can see some info, but health, for instance, shows a blank page.

    Regards.

    JG

  2. Janos SUTO repo owner

    Hello Jorge. Delete that dashboard line you added. It has nothing to do with the reverse proxy, and it’s syntactically incorrect, that’s why you got a blank page.

    Instead set the following in config-site.php:

    $config['SITE_NAME'] = 'mailarchive.domain.com';
    

  3. Log in to comment