Content
Custom port install > Incorrect email links
Added by Nicolas Walgraeve 29 days ago
Hello,
I've got an OpenProject with packaged installation. Custom ports are setup in the vhost configuration file like this :
Include /etc/openproject/addons/apache2/includes/server/*.conf
IncludeOptional /etc/openproject/addons/apache2/custom/server/*.conf<VirtualHost *:80>
ServerName openproject.mydomain.fr
RewriteEngine On
RewriteRule ^/?(.*) https://%{SERVER_NAME}:11443/$1 [R,L]
</VirtualHost><VirtualHost *:11443>
ServerName openproject.mydomain.fr
DocumentRoot /opt/openproject/publicProxyRequests off
ProxyPreserveHost OnInclude /etc/openproject/addons/apache2/includes/vhost/*.conf
IncludeOptional /etc/openproject/addons/apache2/custom/vhost/*.conf# Can't use Location block since it would overshadow all the other proxypass directives on CentOS
ProxyPass / http://127.0.0.1:6000/ retry=0
ProxyPassReverse / http://127.0.0.1:6000/
</VirtualHost>
My first issue is that when I use the command to update/configure OpenProject (sudo openproject configure), I'm losing the custom ports in the vhost configuration file.
My second issue is about the email links which are sent automatically by the server (ex : when someone creates a new account). In those emails, the link is :
https://openproject.mydomain.fr
instead of :
https://openproject.mydomain.fr:11443
So I tried following the different steps specified here (https://www.openproject.org/docs/installation-and-operations/configuration/#packaged-installation) to add the environment variable : OPENPROJECT_HOST__NAME=openproject.mydomain.fr:11443
I'm running out of ideas..
Thank you for your help,
Nicolas
Replies (1)
I have the same problem with the link generated for the email notifcation and created a BUG as Work Package: #62033
Regards,
Gregor