Reputation
705
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 27
Newest
 Caucus
Impact
~49k people reached

Oct
14
comment Floppy power to PCI-E card in DL380 G5
@EvanAnderson If you're putting a PCI-E sound card in anything, especially a server, it's probably in a place where quality is important. Encoding servers for internet radio stations, for example.
Sep
28
comment Centos failing to upgrade bash
That solved the problem for me, thank you!
Sep
27
comment Nginx not sending auth headers when redirecting to a different domain
That's mostly true, but you can put the base64-decoded (and subsequently URL-encoded) value of the Authorization header in the URL for the Location response header used for redirection. http://user:pass@example.com I just can't find a good way to do this conditionally in an Nginx config file.
Aug
6
awarded  Popular Question
Jul
24
comment Nginx cache shared between multiple servers
@mVChr Interesting. Have you tried running rsync or similar continuously? In the end for my use, I eventually got Redis working but this doesn't allow for a very large cache since the entire Redis collection must be in memory. 16GB fills up fast on my application.
Jul
22
comment RAID-5: Two disks failed simultaneously?
Everyone's comments on here regarding drive failure are correct. Let me add another reason to consider the precariousness of the situation... power supplies fail all the time, and sometimes when they fail you end up frying things. I actually had a hard drive once that had a strange failure, dead shorting the +5v side of the power supply which caused (somehow) 2 other drives to go up in smoke.
Jul
9
revised Update Cache-Control max-age when srcache returns response from cache
Removed errant `pragma` header, since it is a bug elsewhere and not core to this question.
Jul
9
comment Update Cache-Control max-age when srcache returns response from cache
Wow... good catch on that Pragma header... I removed that long ago, but it looks like there is some other code I have that is adding it. I didn't even notice. Thanks for that! Regarding max-age, the issue is that I'm caching both server-side and client-side. I have a server-side cache which caches all of the response headers as well, as that's what srcache does. However when I return that result, the Expires header is naturally still correct since it specifies a specific time in the future. The max-age is not, since it specifies a number of seconds. Is there no way to update it?
Jul
2
awarded  Curious
Jul
1
accepted Load balancing in Nginx with redirect rather than proxy
Jul
1
asked Update Cache-Control max-age when srcache returns response from cache
Jun
10
comment Storing username in nginx logs
@nishant I haven't written anything with Django so I can't give you specific advice, but it looks like it supports middleware. I would write a middleware module that takes care of adding the extra header.
Jun
10
comment Storing username in nginx logs
@nishant That depends entirely on your code. You will have to write something or modify what you have to output the username in the response header.
Jun
10
answered Storing username in nginx logs
Jun
6
awarded  Civic Duty
Jun
2
awarded  Popular Question
May
22
comment How to make modification take affect without restart nginx?
USR2 is for upgrading the executable, not for simple config reloading.
May
22
suggested rejected edit on How to make modification take affect without restart nginx?
May
22
asked Load balancing in Nginx with redirect rather than proxy
May
7
asked Nginx HttpRedis2Module get value only