Details
-
SkillsPrograminglanguages: Rust, C/C++, Bash, Ruby Misc: Server administration, networking, sleeping
-
LocationGermany
-
Website
Joined devRant on 1/10/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Damn you nginx...
Let's say you have a simple location directive like:
location / {
auth_reques /auth;
index index.html;
}
location = /auth {
internal;
proxy_pass <...>;
}
Now guess how often nginx makes a subrequest to /auth.
Thats correct TWO times... "why?" you ask?
Well isn't it obvious that nginx hits the auth request, then rewrites the request to the index file, hits the auth request again because it's technically a different request now and then proceeds to hand out the file?
Thanks for documenting this. NOT6 -
Hetzner Cloud
Very easy to set up. It is ready in just seconds. Very affordable prices. Billed by hours used. Hosted in Germany (or Helsinki of you want to) :D -
int main() {
char age = 0x14;
char tmp = 1;
while ( age & tmp ) {
age &= ~tmp;
tmp <<= 1;
}
return age |= tmp;
}1 -
Wanted to open the door to the outside word and see this fucker just sitting at eyelevel a few centimeters away from my face... I'm awake now.
And don't worry he lives his live outside now.18