Hot Potato@lemmy.world to Technology@lemmy.worldEnglish · 1 year agoGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.coexternal-linkmessage-square216linkfedilinkarrow-up1452arrow-down18file-textcross-posted to: technology@lemmy.worldtechnology@beehaw.org
arrow-up1444arrow-down1external-linkGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.coHot Potato@lemmy.world to Technology@lemmy.worldEnglish · 1 year agomessage-square216linkfedilinkfile-textcross-posted to: technology@lemmy.worldtechnology@beehaw.org
minus-squaretaaz@biglemmowski.winlinkfedilinkEnglisharrow-up1·1 year agoI’ve always been told to be scared about ifs in nginx configs
minus-squareAdmiral Patrick@dubvee.orglinkfedilinkEnglisharrow-up2·1 year agoYeah, if’s are weird in Nginx. The rule of thumb I’ve always gone by is that you shouldn’t try to if on variables directly unless they’re basically pre-processed to a boolean via a map (which is what the user agent map does).
I’ve always been told to be scared about
if
s in nginx configsYeah,
if
’s are weird in Nginx. The rule of thumb I’ve always gone by is that you shouldn’t try toif
on variables directly unless they’re basically pre-processed to a boolean via amap
(which is what the user agent map does).