Month: August 2015

LAMPP Ubuntu in Softlayer

LAMPP Ubuntu in Softlayer

Quick guide for setup LAMPP server in Ubuntu : 12sudo apt-get update && sudo apt-get upgrade -y sudo apt-get install nginx php5-fpm php5-mysql mysql-server php5-mysql php5-dev php-pear php5 nmap vim

How to enable WSGIPassAuthorization in NGINX + DJango

How to enable WSGIPassAuthorization in NGINX + DJango

Just in case we need to enable “WSGIPassAuthorization” in NGINX, we can put this in nginx hosts 12345proxy_pass_request_headers on; proxy_no_cache $cookie_nocache  $arg_nocache$arg_comment; proxy_no_cache $http_pragma     $http_authorization; proxy_cache_bypass $cookie_nocache $arg_nocache $arg_comment; proxy_cache_bypass $http_pragma $http_authorization;