Install OpenProject on Ubuntu 12.04 with nginx

  • Posted on June 11, 2014
  • tiagoAsked by tiago

Hey guys,

I’m running a Linux server on DigitalOcena where i have installed couple of Wordpress websites in LEMP environment (*).

Now I want to install OpenProject (info at ) for my team in subdomain following this tutorial:

The tutorial seams easy, but i wonder what should be the nginx server block configuration at the etc/nginx/sites-available.

Any help?

Thank you!

(*) I have followed this tutorial to instal 2 websites, one in a and other in a . It worked perfectly!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello buddy,

I am running a Droplet with Ubuntu 18.04. I have added a domain, lets say with WordPress (SSL installed successfully) - and this is running fine. Now i would like to install openproject in a subdomain - lets say (i have also created the subdomain perfectly with SSL installed - uploaded a dummy test html page onto it and it works just fine). But i am not able to install the openproject software package in the requite subdomain. I am using putty and have a root login as well. Any suggestions/help will be highly appreciated. Thanks

Looking at the installation instructions, it looks like it is a rails app the is served on port 3000. So you’d simply need to add a server block that acts as a reverse proxy. It would look something like: <pre> upstream app_server { server fail_timeout=0; }

server { listen 80; server_name; root /path/to/openproject/public;

 location / {
       try_files $uri/index.html $uri.html $uri @app;     

 location @app {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_redirect off;
        proxy_pass http://app_server;

} </pre> For production, you’ll probably want to look into using something like passenger to serve the app.