Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

How is computed the...
 
Notifications
Clear all

How is computed the variable ${url} in the mails templates?

3 Posts
2 Users
0 Reactions
1,227 Views
Sylvain Devidal
(@magicbuzz)
Posts: 38
Active Member
Topic starter
 
[#9366]

Hello,

We are using the variable ${url} in the mails templates to add a direct link to the item (Ticket).

But the URI is :

https://http//server and path to ticket

I think the problem is about the way we host ProjeQtOr, as I already had similar issues with other programs.
Our ProjeQtOr server doesn't handle HTTPS, but we use a reverse proxy that actually forward the trafic using HTTPS.

As a result, the ProjeQtOr's server works with HTTP and doesn't have clue of the HTTPS provided by the reverse proxy.

So I think the defaut value is "http://server and path to ticket" and in the link as we set "https://" as prefix, it simply adds it in front of the http://

Is there a way to tell ProjeQtOr it is behind a reverse proxy so we actually use https:// even if the server itselft doesn't handle it?


 
Posted : 18 Mar 2024 15H01
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Try and add in parameters.php

$paramHttps='on'; 


 
Posted : 18 Mar 2024 17H15
Sylvain Devidal
(@magicbuzz)
Posts: 38
Active Member
Topic starter
 

Hello Babynus,

I tried to add this parameter, but it looks like it has no effect.

I found a workarround by updating the links in the mails models and removed the prefix "https://".
As a result, I have a link "http://path to ticket".
Next, on the reverse proxy I added a redirection rule http://* => https://* and it works fine.


 
Posted : 19 Mar 2024 17H25
Share:

Scroll to Top