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
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. How to create forwarding proxy to localhost:6000 on Apache?

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

Added by Jordan Urbanovich over 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 over 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...