Posts Tagged nginx

Cloudflare & Python’s urllib

TL;DR: Trying to diagnose why my copr builds were abruptly failing, I found an interesting thing: Cloudflare’s Browser Integrity Check apparently doesn’t like Python’s urllib sending requests. The symptoms in Copr were weird: builds would try importing, and then fail with no log output. To me, trying to diagnose the problem made no sense – […]

, , ,

No Comments

nginx-pagespeed

Just bundled it into copr, so now there’s a yum repo for fedora 20, 21, 22 and rawhide & CentOS 6+7 – copr.fedoraproject.org/coprs/kyl191/nginx-pagespeed/ Amusingly, Rawhide changed the ABI, which the configure script had problems with. But I found a solution, which is going into ngx_pagespeed – github.com/pagespeed/ngx_pagespeed/issues/942. Documentation fix until the code is brought up […]

,

No Comments

Building Nginx SRPMS

Companion to my earlier post, this actually has commands

,

No Comments

Getting CodeIgniter/Bonfire running on nginx

So… I’ve been trying CI/Bonfire¬†as a quick PHP dev platform. Unfortunately, it’s pre-packaged for Apache’s .htaccess, so it takes a bit of configuration to get working on nginx. The following assumes PHP-FPM is actually working though. ¬†Installing CI/Bonfire For some reason, the install portion has its own index.php. So the default PHP pretty URL rewriting […]

, , , ,

No Comments

Getting PHP-FPM running on nginx

Getting FastCGI working on nginx I have two files – a modified version of FastCGI_params, and an extra file that contains my configuration directives for .php files. The second file is simply named php_fastcgi and is located in the same folder as nginx.conf, and is include php_fastcgi;-d anywhere I need PHP support: # Process PHP […]

, ,

2 Comments

VPS Playtime

So… I found a cheap VPS for me to play around with on LowEndBox after a few weeks of lurking on their site. $12/year for 256MB ‘guaranteed’ RAM, 15GB of disk space and 300GB of bandwidth. I am pleased. Except for the fact that it’s an CentOS OpenVZ instance, and I have had bad experiences […]

, ,

No Comments

nginx testing

As part of my web optimization interest, I’ve been looking into alternatives & add-ons for the traditional LAMP stack. The most obvious thing I’ve found is replacing Apache with Lighttpd or nginx. nginx seems to be more updated (based on what I’m remembering of a cursory web search a while ago), so I’m focusing my […]

, , ,

No Comments