Hot Potato to [email protected]English • 9 months agoGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.coexternal-linkmessage-square248fedilinkarrow-up1879cross-posted to: [email protected][email protected][email protected][email protected][email protected][email protected]
arrow-up1879external-linkGoogle Is the Only Search Engine That Works on Reddit Now Thanks to AI Dealwww.404media.coHot Potato to [email protected]English • 9 months agomessage-square248fedilinkcross-posted to: [email protected][email protected][email protected][email protected][email protected][email protected]
minus-square@[email protected]linkfedilinkEnglish2•9 months agoI’ve always been told to be scared about ifs in nginx configs
minus-squareAdmiral PatricklinkfedilinkEnglish2•9 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).
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).