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. How to create forwarding proxy to localhost:6000 on Apache?

How to create forwarding proxy to localhost:6000 on Apache?

Added by Jordan Urbanovich about 5 years ago

Hi, I've recently installed on my Ubuntu 16.04 server running Apache 2... had to skip the Apache setup in the OP configuration due to some other apps going on but let everything else configure itself automatically. Now I'm having a lot of trouble figuring out how to run the VirtualHost to forward to localhost:6000 ... I've setup the SSL fine, the DNS for the subdomain, etc, but I'm not getting any result when typing in the URL to my specified OP folder.

What do I need to put in my .conf file? Do I also need to modify anything else in my Apache setup? Some kind of link to a tutorial would be super helpful. Thanks in advance.


Replies (1)

RE: How to create forwarding proxy to localhost:6000 on Apache? - Added by Cyril Rohr about 5 years ago

Hello,

A minimal configuration would look like this (from https://github.com/opf/openproject/blob/dev/docker/proxy.conf.erb):

<VirtualHost *:80>
  ServerName openproject.example.com
  DocumentRoot /opt/openproject/public

  ProxyRequests off
  ProxyPreserveHost On

  <Location />
    ProxyPass http://127.0.0.1:6000/ retry=0
    ProxyPassReverse http://127.0.0.1:6000/
  </Location>
</VirtualHost>

You would obviously need to adapt it if you're using SSL etc.

Does that help? For reference here is the official doc, although it only gives an example about nginx (https://docs.openproject.org/installation-and-operations/configuration/server/).

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