Kareha bans and nginx (11)

1 Name: !!MrVdboSr : 2011-09-22 13:21 ID:HhNxIMO8 [Del]

I'm thinking of running a Kareha board but my VPS is running nginx and as far as I can tell .htaccess bans won't work. Is there any way around this limitation? The only things I can think of are very inefficient and would probably get me laughed off the board, so I thought it'd be a good idea to ask you guys before making myself look like too much of an idiot.

Thanks in advance.

2 Name: !WAHa.06x36 : 2011-09-22 13:45 ID:Heaven [Del]

Well, if you can block IPs by adding commands to some config file, you could just edit the path and format it writes.

But I know nothing about nginx.

3 Name: Anonymous : 2011-09-22 14:58 ID:Heaven [Del]

nginx doesn't support dynamic configuration, unfortunately. I wanted to do this, and ended up "solving" the problem by simply reverse proxying Apache behind nginx.

4 Name: Anonymous : 2011-09-22 23:12 ID:epIiykX4 [Del]

>>3
That sounds even more inefficient than just running Kareha on Apache. Am I wrong in making that assumption?

5 Name: Anonymous : 2011-09-23 14:13 ID:L1iukzNl [Del]

>>3

So have the script kill -HUP nginx when the config changes.

6 Name: Anonymous : 2011-09-24 08:01 ID:Heaven [Del]

>>4
Yes, you're wrong. Apache craps out during large boosts in traffic, and it's vulnerable to Slowloris attacks. Reverse proxying Apache behind nginx solves both these problems.

7 Name: Anonymous : 2011-09-24 10:10 ID:epIiykX4 [Del]

>>6
Maybe I don't understand exactly what 'reverse proxy' means. Do you mind explaining exactly what this entails?

8 Name: Anonymous : 2011-09-24 16:35 ID:Heaven [Del]

>>7
It means, in this case, that nginx faces the public internet and passes on requests to a local Apache server. I'm not entirely sure about the details, but switching to this setup enabled my site to handle large upsurges in traffic, as well as attacks.

9 Name: Anonymous : 2011-09-24 21:39 ID:epIiykX4 [Del]

>>8
Huh. Somehow running two servers at once just seems like it would put quite a strain on a cheap VPS, which is the reason why I wanna use nginx in the first place.

10 Name: Anonymous : 2011-11-19 07:09 ID:1g9lv3wc [Del]

I kind of banned myself. how do you unban your own ip address? I have been using tor to access it lately

11 Name: Anonymous : 2011-11-21 09:57 ID:v8cKL2XQ [Del]

>>10
Delete the ban from the htaccess file.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: