Author Topic: SSL redirect problem  (Read 17441 times)

0 Members and 1 Guest are viewing this topic.

mikew

  • Full Member
  • ***
  • Posts: 7
SSL redirect problem
« on: March 22, 2021, 09:52:20 AM »
We use a special proxy https://www.internetx.com/en/proceed/
it redirects from http -> https
But it bringst follow error:
File not found: http://www.domain.de/mibew/styles/chats/default/iframe.css
File not found: http://www.domain.de/mibew/plugins/Mibew/Mibew/Plugin/AdvancedButton/js/refresh.js
I added the proxy IP at config.yml without success.
At config Settings -> Options i set all SSL to on.
Where can i change in the code 'http' to 'https' ?

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: SSL redirect problem
« Reply #1 on: March 22, 2021, 08:44:54 PM »
Mibew Messenger use Symfony for routing.

If you proxying https-requests to http-backend, just set several environmental variables related to protocol (namely, HTTPS should be set to on and HTTP_SCHEME to https), and Symfony will do the magic.

Alternatively, one could alter the config/routing.yml this way. But I wouldn't recommend that way: one will have to manually update routes during each system update.