On 11.06.2014 22:53, Maxim Dounin wrote:
http://habrahabr.ru/post/166855/
...
Единственный правильный способ: пойти в IETF с предложением исправить
соответствующие RFC, которые в том числе оговаривают, что следует делать
при получении нескольких заголовков Host, ну а потом уже сюда.
...
Gena Makhomed Wrote:
---
и да, отвечать с 400 статусом тут даже более логично,
потому что если authority component в строке запроса
и в заголовке Host: разные - это явно попытка взлома.
Я так же считаю, что 400 статус в этом случаи должен
Валентин Бартенев Wrote:
---
То есть если к серверу подключиться в 10 потоков и не передавать ни
одного
байта, то reading будет 0, а accepted и handled будут 10?
Да, примерно так.
Спасибо за ответ, тогда я не знаю что делать.
После
On Thursday 12 June 2014 15:33:04 sahe123 wrote:
Валентин Бартенев Wrote:
---
То есть если к серверу подключиться в 10 потоков и не передавать ни
одного
байта, то reading будет 0, а accepted и handled будут 10?
Да, примерно так.
Валентин Бартенев Wrote:
Спасибо за ответ, тогда я не знаю что делать.
После обновления на 1.6.0 у меня резко (в 2 - 2.5 раза) падает
график
обработанных соединений (после возврата старой версии график так же
резко
восстанавливается).
График этот считается на основе accepted/handled.
Hi Maxim,
thanks for your answer.
I tried redirecting passengers tmp dir as well using the tmp_dir directive
as well as using the env variables. For the regular passenger tmp files,
this seems to work fine (they appear in the new location).
My main problem is that I can't even see the file
Thanks for your answer. Worked great for me..
On Wed, Jun 11, 2014 at 10:10 AM, Francis Daly fran...@daoine.org wrote:
On Wed, Jun 11, 2014 at 12:46:41AM -0700, Kunal Pariani wrote:
Hi there,
Am wondering if there is a way to proxy (i.e proxy_pass inside location
directive) to different
Hi,
I'm trying to create a sinle proxying configuration as following:
location = /proxy {
resolver 8.8.8.8;
proxy_pass $args;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_redirect $uri?;
}
I have config(minimal):
server {
listen test.local:80;
server_name test.local;
server_name_in_redirect off;
location / {
root /data/www/test/public;
try_files $uri $uri/ /index.php?route=$uri$args;
index index.html index.php;
}
location ~ \.php$ {
root
On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly fran...@daoine.org wrote:
On Wed, 11 Jun 2014 18:05:50 +0100
Francis Daly fran...@daoine.org wrote:
The rewrite that you want doesn't happen, because the request
/en/privacy.php is handled in:
location ~ \.php$ {
location
Hi,
My website does country based redirection based on result obtained from
GeoIP against IP.
I am facing a problem where GeoIP does not work as first IP in the
X-Forwarded-For has Private network address. (Say 192.168.1.1)
I know GeoIP on private network would fail but the X-Forwarded-For also
11 matches
Mail list logo