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
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. Fixing the hostname in a docker install

Fixing the hostname in a docker install

Added by Calem Bendell almost 7 years ago

Hullo everyone,

I set up an OpenProject server using the Docker image, and it's mostly working well.
I've set the hostname under settings, but when I select the OpenProject logo in the navigation bar, it's still routing me to localhost:8080.
How do I fix this?

Thanks!


Replies (5)

RE: Fixing the hostname in a docker install - Added by Leandro Bravo over 6 years ago

There is a fix about this issue?

Thanks

Leandro

RE: Fixing the hostname in a docker install - Added by Leandro Bravo over 6 years ago

I opened a bug; https://community.openproject.com/projects/docker/work_packages/29484/activity

Leandro

RE: Fixing the hostname in a docker install - Added by Radoslaw Wojnarov over 6 years ago

Hello, did anyone manage to solve this issue?

I'm using docker with this command

docker run -d -p 8080:80 -e SECRET_KEY_BASE=secret openproject/community:8

and managed to configure it with nginx and ssl, but whenever i click on OpenProject logo i'm redirected to https://127.0.0.1:8080/ (my docker local port).

RE: Fixing the hostname in a docker install - Added by Calem Bendell over 6 years ago

This was never solved. I never pushed it because we moved away from OpenProject.

RE: Fixing the hostname in a docker install - Added by Jesús Jiménez almost 6 years ago

I managed to solve this problem by adding the following clause to my Apache Virtualhost:

ProxyPreserveHost   On

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