Install Nginx

Nginx configuration kindly provided by ARIS S RIPANDI

No special configuration, you only need to configure Nginx and PHP-FPM.

server { listen 80; server_name yourdomain.tld; access_log /var/www/access.log; error_log /var/www/error.log; root /var/www; index index.php index.html; location = /robots.txt {access_log off; log_not_found off;} location ~ /\\. {deny all; access_log off; log_not_found off;} location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
}