Hey, Maxim,
after trying to change to NGX_DONE or NGX_HTTP_FORBIDDEN in static
ngx_int_t ngx_http_hostprotect_init(ngx_conf_t *cf), I got this when doing
nginx restart:
nginx: configuration file /opt/nginx/etc/nginx.conf test failed
Thank you.
On Tue, Aug 26, 2014 at 3:00 PM,
Hello!
On Tue, Aug 26, 2014 at 03:09:44PM +0300, Donatas Abraitis wrote:
Hey, Maxim,
after trying to change to NGX_DONE or NGX_HTTP_FORBIDDEN in static
ngx_int_t ngx_http_hostprotect_init(ngx_conf_t *cf), I got this when doing
nginx restart:
You have to change the access phase handler
:
http://mailman.nginx.org/pipermail/nginx-devel/attachments/20140826/907e77bd/attachment.html
--
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
End of nginx-devel
details: http://hg.nginx.org/nginx/rev/954867a2f0a6
branches:
changeset: 5812:954867a2f0a6
user: Ruslan Ermilov r...@nginx.com
date: Tue Aug 19 15:43:26 2014 +0400
description:
Resolver: notify all waiting requests on timeout.
If a resolver_timeout occurs, only the first waiting
Maxim Dounin Wrote:
---
Hello!
On Mon, Aug 25, 2014 at 10:51:50AM -0400, BieZax wrote:
[...]
Добрый день!
Захотелось мне авторизовываться через mysql, нормальных модулей
не
нашел и нарисовал свой костыль в виде
cd /home/install
--with-cc-opt=-L /usr/local/include --with-ld-opt=-I /usr/local/lib
пути поправте
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,252783,252832#msg-252832
___
nginx-ru mailing list
nginx-ru@nginx.org
Не могу раздуплиться...
Указал так:
./configure --user=www-data --group=www-data
--with-pcre=/home/install/pcre-8.35/ --with-zlib=/home/install/zlib-1.2.8/
--with-http_ssl_module --with-cc-opt=-L
/home/install/libressl-2.0.5/include --with-ld-opt=-I
/home/install/libressl-2.0.5/ssl/.libs/
26.08.2014, 14:55, Sarymian nginx-fo...@nginx.us:
Не могу раздуплиться...
Указал так:
./configure --user=www-data --group=www-data
--with-pcre=/home/install/pcre-8.35/ --with-zlib=/home/install/zlib-1.2.8/
--with-http_ssl_module --with-cc-opt=-L
/home/install/libressl-2.0.5/include
Херня какая-то... похоже проще забить.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,252783,252837#msg-252837
___
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Hello!
On Mon, Aug 25, 2014 at 07:57:54PM -0400, Sarymian wrote:
wget http://nginx.org/download/nginx-1.7.4.tar.gz
wget http://mirror.yandex.ru/pub/OpenBSD/LibreSSL/libressl-2.0.5.tar.gz
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.35.tar.gz
wget
Уже и так пробовал. Как я уже не игрался с настройками и параметрами.
У меня складывается мнение, что собрать с libressl тот еще секас...
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,252783,252843#msg-252843
___
nginx-ru mailing list
Насколько сильно нагружает регулярка nginx, к примеру для такого
server_name
~^(en|ru|de|fr|sp|it|pt|pl|nl|jp|cz|se|cn|tr|mx|gr|kr|hu|gr|ro)\.(site.com)$;
?
Имеет ли смысл для повышения быстродействия перечислить вручную все
возможные значение в server_name:
server_name en.site.com ru.site.com ...
Hello!
On Tue, Aug 26, 2014 at 08:23:29AM -0400, Sarymian wrote:
Уже и так пробовал. Как я уже не игрался с настройками и параметрами.
У меня складывается мнение, что собрать с libressl тот еще секас...
По сложности задача не отличается от сборки с какой-либо другой
библиотекой. Просто вы
Полдня сегодня ловил баг, который оказался уже описан в рассылке
(англоязычной, правда) —
http://forum.nginx.org/read.php?29,250947,251007#msg-251007
Суть в том, что в случае проблем на первом бэкенде, запрос перепосылается
на второй, но содержимое POST оказывается равным ровно 64000.
Насколько
Здравствуйте! Классической конструкцией для запрета запросов с неправильным
полем Host: является
server {
listen 80 default_server;
return 444;
}
Но что делать для ipv6? В ipv6 нельзя сделать несколько раз listen на один и
тот же ip:port, так что
On 25.08.2014 15:47, Maxim Dounin wrote:
location / {
error_page 404 = @php;
log_not_found off;
}
location @php {
fastcgi_param SCRIPT_FILENAME /home/www/example.com/engine/index.php;
include /etc/nginx/fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
Hello!
On Tue, Aug 26, 2014 at 02:38:22PM -0400, iprok wrote:
Здравствуйте! Классической конструкцией для запрета запросов с неправильным
полем Host: является
server {
listen 80 default_server;
return 444;
}
Но что делать для ipv6? В ipv6 нельзя
On Tuesday 26 August 2014 23:35:06 Danila Shtan wrote:
Полдня сегодня ловил баг, который оказался уже описан в рассылке
(англоязычной, правда) —
http://forum.nginx.org/read.php?29,250947,251007#msg-251007
Суть в том, что в случае проблем на первом бэкенде, запрос перепосылается
на второй,
Maxim Dounin Wrote:
Т.е. делать ровно так же:
server {
listen 80 default_server;
listen [::]:80 default_server;
return 444;
}
Я первым делом попробовал предложенный Вами конфиг. К сожалению вот такой
вот вариант конфига не работает, если убрать
Простите, забыл указать версию. nginx 1.6.1-1~wheezy, ставился из
официального репозиторя nginx: http://nginx.org/packages/debian/ . ОС -
Debian Wheezy amd64.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,252860,252865#msg-252865
___
On Tuesday 26 August 2014 16:40:58 iprok wrote:
Maxim Dounin Wrote:
Т.е. делать ровно так же:
server {
listen 80 default_server;
listen [::]:80 default_server;
return 444;
}
Я первым делом попробовал предложенный Вами конфиг. К сожалению вот
Валентин Бартенев Wrote:
Уберите отсюда ipv6only=on и всё будет нормально.
Непонятно, что вас заставило добавить эту опцию,
однако это заставляет nginx делать отдельный bind()
на этот адрес.
Большое спасибо. Проблема решена. Заставило меня так сделать использование
чужих конфигов для
Hello!
On Tue, Aug 26, 2014 at 04:40:58PM -0400, iprok wrote:
Maxim Dounin Wrote:
Т.е. делать ровно так же:
server {
listen 80 default_server;
listen [::]:80 default_server;
return 444;
}
Я первым делом попробовал предложенный Вами конфиг. К
Hello!
On Wed, Aug 27, 2014 at 12:53:33AM +0400, Валентин Бартенев wrote:
[...]
server {
listen 8080 default_server;
listen [::]:8080 default_server;
return 444;
}
server {
listen
Ну и опять же...
При первом варианте:
./configure --user=www-data --group=www-data
--with-pcre=/home/install/pcre-8.35/ --with-zlib=/home/install/zlib-1.2.8/
--with-http_ssl_module --with-cc-opt=-I
`pwd`/../libressl-2.0.5/.libressl/include --with-ld-opt=-L
`pwd`/../libressl-2.0.5/.libressl/lib
Я вообще в шоке... хз че происходит. Но секас тот еще. Как сделать чтобы всё
работало без танцев не знаю... но:
ldconfig
/usr/local/nginx/sbin/nginx
Эти 2 команды лечат Nginx
/usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.7.4
Posted at Nginx Forum:
Sarymian Wrote:
---
Я вообще в шоке... хз че происходит. Но секас тот еще. Как сделать
чтобы всё работало без танцев не знаю... но:
ldconfig
/usr/local/nginx/sbin/nginx
Эти 2 команды лечат Nginx
/usr/local/nginx/sbin/nginx -v
nginx
Hello!
On Tue, Aug 26, 2014 at 08:36:30PM -0400, Sarymian wrote:
Ну и опять же...
При первом варианте:
./configure --user=www-data --group=www-data
--with-pcre=/home/install/pcre-8.35/ --with-zlib=/home/install/zlib-1.2.8/
--with-http_ssl_module --with-cc-opt=-I
Спасибо, Валентин.
BTW, я чего-то не понимаю, или баг действительно довольно тяжелый? В моем
случае он обозначает, что для ряда запросов вне зависимости от количества
бэкендов и их загруженности нужно добиваться, чтобы запрос всегда мог
обработать первый бэкенд. Это немного обескураживает.
Д.
Будем так же по порядочку.
Вероятно, вы забыли таки собрать и установить по указанному пути
LibreSSL. После ./configure ... имело смысл также запустить
make и make install (а перед - почистить всё).
--with-openssl= уже задавал и как `pwd`/../libressl-2.0.5/ и как
Как уж говорилось
Thanks for your message,
I applyed your patched, restarted varnish, nginx and php5-fpm and it's still
the same.
Browing with browser cache off feels like the image are downloaded and
displayed in a progressive way because of the slowlyness.
Another example too is this PDF of 3Mo who takes 3
Takes me 2.65 seconds to load the PDF with no caching.
tristanb wrote:
Thanks for your message,
I applyed your patched, restarted varnish, nginx and php5-fpm and it's still
the same.
Browing with browser cache off feels like the image are downloaded and
displayed in a progressive way because
Damn, I tested this on 3 different connection from 3 different providers
(all based in France though, where the server are)
- 20mbps ADSL by Orange
- 1Gbps fiber by Free
- 50 Mbps fiber by SFR
Where are you based, what are you connexion specs please ?
Posted at Nginx Forum:
I've been testing from a 10 megabit connection in Netherlands, 100mbit
connection in netherlands, 500 mbit connection in netherlands, 500mbit
connection in France, 100mbit connection in france and a 250 megabit
connection in france, a 20 megabit connection in UK.
Can ask people from Denmark to
Hi,
Where do I need to ask if a bug fix will be treated as major and ported to the
1.6 feature stable branch?
Specifically, the following is having a significant impact for us, and makes
using resolver extremely unstable with proxy_pass and variables.
*) Bugfix: requests might hang if resolver
It is not possible to set custom error page. For example
/usr/share/nginx/404.html contains test:
server {
error_page 404 /404.html;
if ($request_method = GET)
return 404;
}
location / {
proxy_pass http://localhost:8080;
}
location /404.html {
/usr/share/nginx/404.html;
}
}
curl -v
Thanks, you really helped me, i'm gonna call my hosting provider to figure
it out.
I'm glad the nginx is not the cause here ;-)
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252816,252827#msg-252827
___
nginx mailing list
nginx@nginx.org
A last thing, can you provide a traceroute please ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252816,252828#msg-252828
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
NL example:
mtr admin.yproximite.fr
HOST: server1Loss% Snt Last Avg Best Wrst StDev
1. hosted.by.leaseweb.com0.0% 20.5 0.5 0.5
0.5 0.0
2. te0-7-0-3.hvc3.evo.leaseweb. 0.0% 20.7 0.7 0.6
0.7 0.1
3. ix-5-1-1-0.thar1.HNN-Amsterd 0.0%
Thank you so much ;-)
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252816,252831#msg-252831
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Tue, Aug 26, 2014 at 04:48:41AM -0400, kay wrote:
It is not possible to set custom error page. For example
/usr/share/nginx/404.html contains test:
server {
error_page 404 /404.html;
if ($request_method = GET)
return 404;
}
location / {
proxy_pass http://localhost:8080;
How can if in location influence productivity?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252825,252844#msg-252844
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi Jason,
On 8/26/14 12:47 PM, Jason Woods wrote:
Hi,
Where do I need to ask if a bug fix will be treated as major and
ported to the 1.6 feature stable branch?
Specifically, the following is having a significant impact for us,
and makes using resolver extremely unstable with proxy_pass
Hello!
On Tue, Aug 26, 2014 at 08:41:31AM -0400, kay wrote:
How can if in location influence productivity?
There is no difference from performance point of view.
--
Maxim Dounin
http://nginx.org/
___
nginx mailing list
nginx@nginx.org
I can't tell if this is working or not so i thought i would just ask and
perhaps someone can inform me but with nginx keep alive timeouts can we set
different timeout values per each location or file type being accessed ?
Example :
location ~ \.flv$ {
flv;
keepalive_timeout 60s;
}
location ~
On Tuesday, August 26, 2014 12:50:08 PM c0nw0nk wrote:
I can't tell if this is working or not so i thought i would just ask and
perhaps someone can inform me but with nginx keep alive timeouts can we set
different timeout values per each location or file type being accessed ?
Example :
You should be able to test this with curl -k, see the curl manpage.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,252851,252852#msg-252852
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Tue, Aug 26, 2014 at 12:50:08PM -0400, c0nw0nk wrote:
I can't tell if this is working or not so i thought i would just ask and
perhaps someone can inform me but with nginx keep alive timeouts can we set
different timeout values per each location or file type being accessed ?
I'm trying to troubleshoot an issue with existing servers vs new servers
for one of my environments, and one of the only differences I've
stumbled across is a version bump in nginx. Older servers are running
1.6.0-1~precise on Ubuntu 12.04 and newer builds are using 1.6.1-1~precise.
I was
Try to use 192.168.1.102:443.
On Wed, Aug 27, 2014 at 1:40 AM, Matthew Ngaha chigga...@gmail.com wrote:
I'm trying Nginx with Django on my localhost. I Include a
django.conf in my main nginx.conf and in this included conf the
server listens for both http https and sends either requests
I feel really stupid now:( Thanks that fixed it.
On Tue, Aug 26, 2014 at 10:56 PM, kyprizel kypri...@gmail.com wrote:
Try to use 192.168.1.102:443.
On Wed, Aug 27, 2014 at 1:40 AM, Matthew Ngaha chigga...@gmail.com wrote:
I'm trying Nginx with Django on my localhost. I Include a
51 matches
Mail list logo