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

      OpenProject ID 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. [SOLVED] Is apache2 required with HAProxy?

[SOLVED] Is apache2 required with HAProxy?

Added by To Ce over 4 years ago

If I install OpenProject behind a HAProxy, do I need Apache2 on the OpenProject VM, or can I just go from HAProxy to port 6000?


Replies (4)

RE: Is apache2 required with HAProxy? - Added by Cyril Rohr over 4 years ago

Hello,

You can just go directly to port 6000, unless you required the managed git/svn repository feature (which you probably don't)

RE: Is apache2 required with HAProxy? - Added by To Ce over 4 years ago

thank you; port 6000 is listening locally; how do I change the config of unicorn from 127.0.0.1 to 0.0.0.0?

RE: Is apache2 required with HAProxy? [SOLVED] - Added by To Ce over 4 years ago

I did not find a way to set the listening IP before the configuration, but after the configuration just:

  • vim /etc/openproject/conf.d/other
  • export HOST="0.0.0.0"
  • reboot

Configuration for HAProxy without openproject Apache2. You need only 
http-request set-header X-Forwarded-Proto https if { ssl_fc }

Do not use

openproject config:set SERVER_PROTOCOL_FORCE_HTTPS="true"

Finally as administrator in the setting set

Host name: projects.mydomain.com
Protocol: HTTPS

RE: Is apache2 required with HAProxy? - Added by To Ce over 4 years ago

other interesting things:

to set user password before the configuration (after package installation)

vim /opt/openproject/app/seeders/admin_user_seeder.rb

and add

user.password =
user.mail =
user.force_password_change = false

to avoid demo data

vim /opt/openproject/app/seeders/root_seeder.rb
#puts '*** Seeding demo data'
#DemoDataSeeder.new.seed!
#if seed_development_data?
#  seed_development_data
#end

to deactivate self registration before configuration (after package installation):

vim /opt/openproject/config/settings.yml
self_registration:
default: '0'

you can change other parameters too (but you can easily change those setting afterwards using the browser)

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