Example of nginx.conf

Download example of nginx config file : nginx.conf [codesyntax lang="apache"] # nobody nobody but you ... user nobody; # max concurrent requests = worker_processes * worker_connections worker_processe… Continue reading
Posted in Nginx| Tagged , , , | Leave a comment

Nginx and PHP for Windows

1. Environment Window XP Nginx 0.8.50 PHP 5.2.14 2. Download Nginx Unzip to D:\nginx-0.8.50 3. Download PHP Unzip to D:\nginx-0.8.50\php-5.2.14 4. Create D:\nginx-0.8.50\php-5.2.14\php.ini cgi.fix_pat… Continue reading
Posted in Nginx| Tagged , , | 1 Comment

Nginx and PHP-FPM for Ubuntu

1. Install and Start Nginx (a) use apt-get [codesyntax lang="bash" lines="no" container="pre" tab_width="4"] $ su $ apt-get install nginx $ update-rc.d nginx defaults $ /etc/init.d/nginx start [/codes… Continue reading
Posted in Nginx, PHP, Ubuntu| Tagged , , | Leave a comment