161 reputation
14
bio website neosmart.net
location Chicago, USA
age 26
visits member for 5 years, 6 months
seen Jan 23 at 19:56

Inventor, founder, hardware engineer, software developer, blogger, systems architect, and tech enthusiast. Currently Director of NeoSmart Technologies: http://neosmart.net/

@mqudsi on twitter

mqudsi@neosmart.net


Oct
12
comment nginx giving priority to nested location over outer location block
I have and am using try_files extensively - the thing is that I want to apply a general rule to all images regardless of where they are ultimately served from. e.g. /server1/image.png and /server2/image.png go to different upstream servers via try_files, but both need to also match the image block.
Oct
12
accepted nginx giving priority to nested location over outer location block
Oct
12
comment nginx giving priority to nested location over outer location block
I didn't want to duplicate the image extension block within every inner location block. sigh
Oct
12
comment nginx giving priority to nested location over outer location block
So you cannot use nested location blocks to have nginx actually match two locations (via break out of one, perhaps)?
Oct
12
asked nginx giving priority to nested location over outer location block
Sep
29
answered How to automate remote boot/reboot of a multi-boot server?
Aug
16
comment Why does try_files append each path together?
No, it was solved because you correctly added the final fallback location.
May
21
awarded  Caucus
May
14
awarded  Citizen Patrol
Feb
20
awarded  Popular Question
May
4
awarded  Organizer
May
4
revised MySQL installation and removal issue
Added more specific tags.
May
4
awarded  Critic
May
4
accepted Pass PURGE requests to varnish via nginx
May
4
answered Is it a good practice to allow all ports from netstat result by putting them in iptables
May
4
suggested approved edit on MySQL installation and removal issue
May
4
answered Performance of php modules vs. compiled in
Apr
24
awarded  Commentator
Apr
24
comment Pass PURGE requests to varnish via nginx
Interesting approach. I can give it a try tomorrow and let you know :)
Apr
24
comment Pass PURGE requests to varnish via nginx
IIRC, you can't use proxy_pass in an if statement.