Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Custom port install > Incorrect email links

Custom port install > Incorrect email links

Added by Nicolas Walgraeve 3 months 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/public

ProxyRequests off
 ProxyPreserveHost On

Include /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)

RE: Custom port install > Incorrect email links - Added by Gregor Styperek 2 months ago

I have the same problem with the link generated for the email notifcation and created a BUG as Work Package: #62033 


Regards,


Gregor

  • (1 - 1/1)
Loading...