Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu

Updated by Andreas Chiarello over 8 years ago

Hi,

I’m running openproject in a docker container and have an apache server with mod\_proxy.

the apache config looks the following:
\<VirtualHost \*:80\>
ServerName project.somedomain.at
DocumentRoot /var/www/html/

ProxyRequests On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>

and the docker start command is this:
docker run -i -d -p 8080:80 —name openproject openproject/community:5.0

the settings table has the entry host\_name = project.somedomain.at

now many links (ie the image link on the top left, the breadcrumbs in projects, …) use the servername… meaning the links look like “localhost:8080/…”

I have an ugly workaround to setup the docker container with a fixed ip and have an /etc/hosts entry for the ip and project.somedomain.at, then I can use the project.somedomain.at cname for the proxy pass and everything works…

from what I can tell the home\_url is not set properly by this setting

Back

Loading...