a) is debugging on ?
b) maybe you're getting flooded, or you're popular somehow?
c) is it a search engine crawler, or some application like it? i've
been flooded with a bunch of requests per minute for weeks before we
noticed someone was hitting our website for no good reason...
On Sun, Mar 8, 2009 at 7:43 PM, Steve Zhuo <lis...@ruby-forum.com> wrote:
Thanks mike, it's working now, but i encounter another problem, every
time i visited the website, it had so many log entries, like few hundred
of them. all from the same ip address. Any ideas?
mike wrote:
your proxy_set_header stuff would go where you proxy things, not on
your redirection
your http to https should be a simple
server {
listen 80;
server_name www.domain.com domain.com;
rewrite ^(.*) https://$server_name$1 permanent;
}
this is literally one i have working flawlessly (just changed the
domain):
server {
listen 80;
server_name foo.com bar.com;
rewrite ^/(.*) https://foo.com/$1 permanent;
}