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. OP and HAproxy

OP and HAproxy

Added by Andrea Pedretti almost 5 years ago

Hello forum

I’ve got an OP system running on SSL in the LAN and it works ok, but when i try to access hook it up to my HAproxy for accessing it from the internet i receive a page not found.

This is my apache conf file:

Include /etc/openproject/addons/apache2/includes/server/*.conf

<VirtualHost *:80>
  ServerName openproject.xyz.com
  RewriteEngine On
  RewriteRule ^/?(.*) https://%{SERVER_NAME}:443/$1 [R,L]
</VirtualHost>

<VirtualHost *:443>
  ServerName openproject.xyz.com
  DocumentRoot /opt/openproject/public

#       ProxyPreserveHost On

  ProxyRequests off

  Include /etc/openproject/addons/apache2/includes/vhost/*.conf

  # Can't use Location block since it would overshadow all the other proxypass directives on CentOS
  ProxyPass / http://127.0.0.1:6000/ retry=0
  ProxyPassReverse / http://127.0.0.1:6000/
</VirtualHost>

I’m forwarding only the port https/443, does the port 6000 need to be exposed as well?

Thanks


Replies (4)

RE: OP and HAproxy - Added by Andrea Pedretti almost 5 years ago

turns out that the problem was with the HAproxy health check mechanism.

I’ve disabled that and everything’s working ok now...

RE: OP and HAproxy - Added by Oliver Günther almost 5 years ago

Hi Andrea,

do you have any additional information on how to setup HAproxy with OpenProject? We would like to extend our documentation for these kinds of integrations.

Please note that OpenProject also comes with health check URLs you can plug into your monitoring:

  • All health checks (including background workers) <your domain>/health_checks/all
  • Only the web worker availability <your domain>/health_checks/web
  • Only the database check <your domain>/health_checks/database

Cheers

Oliver

RE: OP and HAproxy - Added by Brenden Reeves 11 months ago

Hello! This post helped me at one point, and I noticed @oliver's request for additional information (from 4yrs ago). If I can help, I just got a basic PFSense > HAProxy > OpenProject (RPM without Apache) working just fine. Across probably 10 forums posts I found all of the information I needed. Happy to share what I did to save someone a few bottles of liqor

RE: OP and HAproxy - Added by Flávio Avellar 8 months ago

Hello! I installed OP on a k8s cluster using Helm and I'm having trouble configuring it. Could you give me some information?

Haproxy (https) > OP (HTTP:8080)

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