OpenProject Install

Hi -

I’m trying to install OpenOffice using DEB/RPM (Install OpenProject with DEB/RPM packages), but don’t know how to create templates for its subdomain.

There is a “guide” on addon-apache2/conf at master · pkgr/addon-apache2 · GitHub of specific templates fr OpenProject, but can’t figure out how to make the work.

As starting point, instructions says: web server such as Apache2 or Nginx to function as the web server forwarding to our internal server listening at localhost:6000 by proxying.

Can anyone help me please?

Thanks in advance…


But change:


proxy_pass http://%ip%:6000;

1 Like

Hi @eris -

Thanks for your kind and quick response. I tried to follow your recommendation, but I’m not sure what’s wrong.

  1. I found openproject templates under /usr/local/hestia/data/templates/web/nginx/php-fpm folder.
  2. Copied those templates (openproject.tpl and openproject.stpl) to /usr/local/hestia/data/templates/web/nginx/.
  3. Selected openproject template in webpanel for the Proxy Template and Save.
  4. Rebuilt user with v-rebuild-user CLI.

Still there is no success to get into the OpenProject web interface.

Can you please advice me?

Thanks in advance…

You can’t use templates from /usr/local/hestia/data/templates/web/nginx/php-fpm

and use it for: /usr/local/hestia/data/templates/web/nginx/

Needs to replaced with proxy_ssl_port

and same for


For the rest it should work fine

Thank you @eris again for your help,

It seems there is something missing. Using the OpenProject instructions and skipping the Apache2 installation, they suggest to use an Apache config file as follows:

<VirtualHost *:80>
    redirect permanent /

<VirtualHost *:443>
    # SSL Start

    SSLEngine On
#    SSLCertificateChainFile /etc/apache2/ssl/cdc_ca.cert.pem
    SSLCertificateFile /etc/letsencrypt/live/
    SSLCertificateKeyFile /etc/letsencrypt/live/
    SSLCertificateChainFile /etc/letsencrypt/live/

    # Set Forwarded protocol header to proxy
    # otherwise OpenProject doesn't know we're terminating SSL here.
    RequestHeader set X_FORWARDED_PROTO 'https'

    # SSL End

    ServerAdmin     [email protected]
    DocumentRoot    /opt/openproject/public

    # Proxy requests to localhost:6000 (puma)
    ProxyRequests off
    ProxyPass / retry=0
    ProxyPassReverse /

    # Disallow internal API for external use
    # (used for repository authenticiation, if any)
    <LocationMatch "^/sys">
      <IfModule mod_authz_core.c>
	      Require local

      <IfModule !mod_authz_core.c>
        Order Deny,Allow
        Deny from all
        Allow from

  # Configure assets and uploads
  Alias /assets /opt/openproject/public/assets
  Alias /uploads /opt/openproject/public/uploads
  <Directory "/opt/openproject/public">
    Options -Indexes
    <IfModule mod_authz_core.c>
      # apache 2.4+
      Require all granted

    <IfModule !mod_authz_core.c>
      Order deny,allow
      Allow from all

   # Don't pass assets through proxy but deliver them through apache
   ProxyPass /assets/ !
   <Location /assets/>
     # Avoid using mtime or inode information for ETag
     FileETag Size
     ExpiresActive On ExpiresDefault "access plus 1 year"

    # Send expiry headers for assets, that carry an asset id. Assuming, an asset
    # id is a unix timestamp, which is currently a 10 digit integer. This might
    # change in the far future.
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
      ExpiresActive On
      ExpiresDefault "access plus 1 year"

    # Enabling compression for common text formats
    AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript

    ErrorLog    /var/log/apache2/

Is there any way to fulfill this with a template?

Thanks again…!!!

Hi !
I also try to install OpenProject under HestiaCP.
Do you finally found what was going wrong with your installation ?

Hi @Hedy -

Thanks for your communication. Unfortunately, no. There is no way to put all the OpenProject files in the /home/{user}/web/{domain}/public_html folder…

We are still researching. If we found how to, we’ll let you know…

Thanks !
That’s will be annoying if we can’t do it…
I will tell you if I get the solution before you :slight_smile:

OpenProject working beside HestiaCP with Docker.
I have to find the way to personalize URL (with subdomain, and not IP address), port and some fine tuning, but it’s looks good.

1 Like

However, if someone find how to run it “classically” within HestiaCP, I will prefer (I don’t know how stable is docker in production use)

Docker has been widely used in production for many years.

Hi @Hedy -

Did you find an operational way to install it in the same server with Hestiacp?

If yes, any steep by steep is more than welcome…!!

Thanks again…