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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. POST redirecting to IP address rather than domain name

POST redirecting to IP address rather than domain name

Added by Pedro Paulo Palazzo almost 7 years ago

Some POST forms on OpenProject direct the request to my server’s IP address rather than to the domain name. So far, I noticed Colors and Project Members have this behavior.

I am using the latest Docker container behind a reverse proxy on a different machine, forwarding connections to the OpenProject server through an SSL Virtual Host. This means the request fails when the page attempts to connect to the Docker IP rather than to the Proxy. The domain name is filled in on the System Settings page, and the behavior described above occurs irrespective of whether I select HTTP or HTTPS.


Replies (4)

RE: POST redirecting to IP address rather than domain name - Added by Oliver Günther almost 7 years ago

Hi Pedro,

can you check what is the Setting.host_name in your installation? I suspect that its not set to your domain name. Thus some requests by OpenProject that don’t rely on the hostname given by request.

You can verify that setting in Administration > General.

Best,
Oliver

RE: POST redirecting to IP address rather than domain name - Added by Pedro Paulo Palazzo almost 7 years ago

Thanks, Oliver. As I noted above, the Host name in Administration > System settings > General is set to my domain name, as per the attached screenshot. I am using the Docker image with OpenProject version 7.4.5 and PostgreSQL.

RE: POST redirecting to IP address rather than domain name - Added by Jon Reyes almost 7 years ago

I am actually getting the same issue. I am assuming the proxy preserve host is off but I don’t want to mess with that setting as I want this to be portable. Is there any way we can make it use the setting in the admin panel instead of the request host?

RE: POST redirecting to IP address rather than domain name - Added by Zach Z about 6 years ago

I followed this to get it to work, but I'm using nginx as my reverse-proxy:

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