O'Reilly logo

Play Framework Cookbook - Second Edition by Giancarlo Inductivo, Alexander Reelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying a Play application with Nginx

In this recipe, we will manually deploy a Play 2 web application using a CentOS 6.5-based virtual machine with Nginx as the frontend server for our Play 2 web applications. We will be utilizing Digital Ocean; ensure that you sign up for an account here:

https://cloud.digitalocean.com/registrations/new

How to do it...

  1. Log in to Digital Ocean and create a new Droplet, selecting CentOS as the base operating system and with at least 2GB of RAM:
    How to do it...
  2. Select CentOS 6.5 x64 as the Droplet image and specify your SSH Key:
    How to do it...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required