Why BootDev — Nginx Config

Originally posted on Keith Yau:

We had spent many effort on Nginx configuration. Different with Apache + mod_php5, Nginx + php_fpm need much detail configuration and nginx is Drupal module dependent. It means some Drupal module require support from Nginx configuration. Like CDN module / Advagg module.

There is a github about Drupal + Nginx, but that will be too much and you will require to filter the necessary part in your project.

Here i share the main nginx configure

server{server_name*.compute.amazonaws.com;root/opt/source/app;access_log/var/log/nginx/access.log;error_log/var/log/nginx/error.log;#include/etc/nginx/apps/drupal/drupal.conf;#Cacheeverythingbydefaultset$no_cache;#Don't cache POST requestsif(

View original 1,097 more words

Flat 607, 6/F, Yen Sheung Center, 64 Hoi Yuen Road, Kwun Tong

General Enquiry: info at yubis.net
Website: http://www.yubis.net