hotpot8toe@lemmy.world to Technology@lemmy.worldEnglish · 3 months agoGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.coexternal-linkmessage-square242fedilinkarrow-up11arrow-down10file-textcross-posted to: technology@lemmy.worldtechnology@lemmy.worldtechnology@beehaw.org
arrow-up11arrow-down1external-linkGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.cohotpot8toe@lemmy.world to Technology@lemmy.worldEnglish · 3 months agomessage-square242fedilinkfile-textcross-posted to: technology@lemmy.worldtechnology@lemmy.worldtechnology@beehaw.org
minus-squareAdmiral Patrick@dubvee.orglinkfedilinkEnglisharrow-up0·3 months 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).
Yeah,
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).