Fun with Nginx

//Fun with Nginx

Fun with Nginx

WARNING: the following is geeky devops/sysadmin stuff that has nothing to do with keto.

I moved servers quite recently and in the process went from Apache to Nginx. Nginx is indeed much faster but it has come with a pretty steep learning curve to get everything working right. And today I ran into a problem with non-logged in (guest) users getting scrambled or lost shopping carts. Seems to be the “microcaching” that was messing things up. I’ve removed that and it seems to be working much better. Memcached is still going but just for wordpress “transients” and not sessions. I’ll see if I can reenable those later. Sort of reminds me of this GIF from devopsreactions.

Let me know if you experience any weirdness.

By | 2015-09-02T21:47:44+00:00 September 2nd, 2015|Categories: Site or Store Stuff|Tags: , |2 Comments

About the Author:

Chris Bair is a computer geek and SalesForce.com system administrator for his "day job". He became involved in the powdered foods (aka "soylent") movement in January 2014, originally with a conventional recipe and later switching to a high fat, low carb "ketogenic" variant on October 2014. In January 2015 he created the recipe for Keto Chow and released it without restriction for anyone to use, at the same time he began mixing the recipe up for people that wanted a finished product and has seen steady growth in the business every month since. Chris has lived in Utah for most of his life, except for a few years living in Chile where he learned Castillian. Chris and his wife have two sets of twins with a couple singltons thrown in for good measure.

2 Comments

  1. Cory Doucette November 1, 2015 at 7:16 am - Reply

    How do you like nginx now after using it a while? I switched a few years back and now I hate doing apache stuff :p

    • chris November 1, 2015 at 8:05 am - Reply

      It’s still a bit quirky and I haven’t yet figured out how to use memcached as a php session store yet with it (plus using memcached as a wordpress transients storage)

Leave A Comment

Flavor of the Week October 23-October 29: 10% off sale on Strawberry 2.0.1 week packsMore Info
+