Running Drupal using NGINX
With version 8 recently released and a community of over 1 million supporters, Drupal remains a popular choice when it comes to a highly flexible and functional CMS platform. Version 8 has over 200 new features compared to version 7, aimed at improving both the usability and manageability of the system. This cookbook will be using version 8.0.5.

Getting ready
This example assumes you already have a working instance of Drupal or are familiar with the installation process. You can also follow the installation guide available at https://www.drupal.org/documentation/install.
How to do it...
This recipe is for a basic Drupal configuration, with the Drupal files located in /var/www/html
.
Here's the configuration to use:
server { listen 80; server_name drupal.nginxcookbook.com; access_log /var/log/nginx/drupal.access.log combined; index index.php; root /var/www/html/; location / { try_files $uri $uri/ /index.php?$args...