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 https://OpenProject.org ) for my team in subdomain following this tutorial:
https://www.openproject.org/projects/openproject/wiki/Installation_Ubuntu
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 https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04 to instal 2 websites, one in a domain.com and other in a sub.domain.com . It worked perfectly!
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!
Hello buddy,
I am running a Droplet with Ubuntu 18.04. I have added a domain, lets say xyz.com with WordPress (SSL installed successfully) - and this is running fine. Now i would like to install openproject in a subdomain - lets say openproject.xyz.com (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 127.0.0.1:3000 fail_timeout=0; }
server { listen 80; server_name projects.example.com; 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.