On Wed, May 11, 2016 at 07:24:09AM -0400, Sportmodus wrote:
Hi there,
> Now I want to proxy_pass an external server and I have to use our proxy for
> this to get an external connection.
Stock nginx does not speak proxy-http to a proxy server.
> Can I modify this to
>
> "GET
Thank you Yuriy,
Cheers,
Tom.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,266845,266854#msg-266854
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Thank you Robert
Cheers,
Tom.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,266845,266853#msg-266853
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello,
> On May 11, 2016, at 5:36 PM, Alex Hall wrote:
>
> The output of
> sudo ps aux | grep php
>
> admin16599 0.0 0.0 12728 2164 pts/0S+ 21:34 0:00 grep php
> root 18852 0.0 0.6 295568 24484 ?Ss May09 0:08 php-fpm:
> master process
Configuration of pool in /etc/php5/fpm/pool.d/ in Ubuntu/Debian.
2016-05-12 0:36 GMT+03:00 Alex Hall :
> The output of
> sudo ps aux | grep php
>
> admin16599 0.0 0.0 12728 2164 pts/0S+ 21:34 0:00 grep php
> root 18852 0.0 0.6 295568 24484 ?Ss
The output of
sudo ps aux | grep php
admin16599 0.0 0.0 12728 2164 pts/0S+ 21:34 0:00 grep php
root 18852 0.0 0.6 295568 24484 ?Ss May09 0:08 php-fpm:
master process (/etc/php5/fpm/php-fpm.conf)
www-data 18857 0.0 0.7 300736 29408 ?SMay09 0:00
You can see in source/auto/options by default
HTTP_LIMIT_CONN=YES
HTTP_LIMIT_REQ=YES
2016-05-12 0:12 GMT+03:00 tom.b :
> Greetings fellow nginx users,
>
> Is the limit_req_zone module included in the core version ? I't doesn't
> show
> up when I list the modules
Hello,
> On May 11, 2016, at 5:19 PM, Alex Hall wrote:
>
>
>
>> On Wed, May 11, 2016 at 5:04 PM, Jim Ohlstein wrote:
>> Hello,
>>
>> On May 11, 2016, at 4:54 PM, Alex Hall wrote:
>>
>>>
>>>
On Wed, May 11, 2016 at 4:50 PM, Jim
This module is built by default, and does not need to be explicitly
enabled. Thus you will not see it as part of the configure options.
On Wed, May 11, 2016 at 2:12 PM, tom.b wrote:
> Greetings fellow nginx users,
>
> Is the limit_req_zone module included in the
On Wed, May 11, 2016 at 5:04 PM, Jim Ohlstein wrote:
> Hello,
>
> On May 11, 2016, at 4:54 PM, Alex Hall wrote:
>
>
>
> On Wed, May 11, 2016 at 4:50 PM, Jim Ohlstein wrote:
>
>> Hello,
>>
>> > Is it possible that your script is trying to
Greetings fellow nginx users,
Is the limit_req_zone module included in the core version ? I't doesn't show
up when I list the modules via nginx -V although when I add the directive
into my nginx configuration it appears works fine and limit requests
I am using 1.8.1-1.el6.ngx installed from
Hello,
> On May 11, 2016, at 4:54 PM, Alex Hall wrote:
>
>
>
>> On Wed, May 11, 2016 at 4:50 PM, Jim Ohlstein wrote:
>> Hello,
> > Is it possible that your script is trying to write a configuration file and
> > lacks proper > permission in that directory?
example of php-fpm pool configuration
user = www-data
group = www-data
pm = dynamic
pm.max_children = 50
pm.start_servers = 20
pm.min_spare_servers = 5
pm.max_spare_servers = 35
pm.status_path = /fpm-status
ping.path = /fpm-ping
ping.response = pong
chdir = /var/www/test.ex.com
You can configure it
In configuration of pool
php_admin_value[error_log] = /var/log/tes2.ex.com-fpm-php-error.log
2016-05-11 23:26 GMT+03:00 Alex Hall :
> Thanks for the quick response. Unfortunately, I'm not having any luck,
> unless I mistyped one of the rules. I also
On Wed, May 11, 2016 at 4:50 PM, Jim Ohlstein wrote:
> Hello,
>
> > Is it possible that your script is trying to write a configuration file
and lacks proper > permission in that directory?
Yes, very possible, and I'd even say likely. The thing is, I can't find out
what the
Hello,
> On May 11, 2016, at 4:26 PM, Alex Hall wrote:
>
> Thanks for the quick response. Unfortunately, I'm not having any luck, unless
> I mistyped one of the rules. I also can't find where errors go. Anyone know
> where, or if, errors in fastcgi/php5-fpm are logged?
Thanks for the quick response. Unfortunately, I'm not having any luck,
unless I mistyped one of the rules. I also can't find where errors go.
Anyone know where, or if, errors in fastcgi/php5-fpm are logged?
/var/log/php5-fpm.log is empty.
On Wed, May 11, 2016 at 4:09 PM, Yuriy Medvedev
Try my config for Osticket 1.7, nginx+php-fpm
I create that's config just for testing
server {
listen 80;
server_name test.com;
access_log /var/log/nginx/tickets.access.log;
error_log /var/log/nginx/tickets.error.log info;
index index.php;
root /var/www/ticket;
client_max_body_size 5M;
Hi all,
I'm using Nginx (obviously), but I want to try OSTicket. The only supported
servers for it are, for whatever reason, Apache and IIS. I hate IIS, and I
don't know how I'd run Apache and Nginx together (plus Nginx seems much
simpler than Apache to me). Does anyone have OSTicket working under
каким образом вы хотите модифицировать ответ ?
статус ? тело ? хедеры?
есть пример?
11 мая 2016 г., 20:17 пользователь Babaev
написал:
> Если взять конфигурацию nginx, то в разделе location есть директива
> proxy_pass с адресом IP, по которому сидит Apache.
>
Hi,
To illustrate the fix I mentioned -- please find the patches attached.
Thanks.
--
Mindaugas
diff -r 19a54ba76c04 src/http/modules/ngx_http_slice_filter_module.c
--- a/src/http/modules/ngx_http_slice_filter_module.c Wed May 11 17:55:30
2016 +0300
+++
Если взять конфигурацию nginx, то в разделе location есть директива
proxy_pass с адресом IP, по которому сидит Apache.
После этой строчки как я понимаю - я могу получить тело ответа от Apache.
Здесь и нужно перехватить ответ и его модифицировать.
Posted at Nginx Forum:
On Wednesday 11 May 2016 10:50:37 AterCattus wrote:
> Валентин Бартенев Wrote:
> > Так не должно быть.
> >
> > В таком случае хотелось бы увидеть дебаг-лог:
> > http://nginx.org/ru/docs/debugging_log.html
> >
> > Отдельно замечу, что nginx не допустит превышения окна соединения и в
> > этом
> >
details: http://hg.nginx.org/nginx/rev/19a54ba76c04
branches:
changeset: 6534:19a54ba76c04
user: Ruslan Ermilov
date: Wed May 11 17:55:30 2016 +0300
description:
Removed a surplus condition from ngx_parse_inet6_url().
No functional changes, since the condition was
details: http://hg.nginx.org/nginx/rev/b358d670c654
branches:
changeset: 6533:b358d670c654
user: Valentin Bartenev
date: Wed May 11 17:55:20 2016 +0300
description:
Core: fixed port handling in ngx_parse_inet6_url().
This fixes buffer over-read when no port is
Валентин Бартенев Wrote:
---
> On Wednesday 11 May 2016 10:32:41 AterCattus wrote:
> [..]
> >
> > Речь про окно на соединение. Я не тестил на стримах в 2ГБ (только
> стримы на
> > несколько мегабайт с суммарным трафиком на соединение в 2-3ГБ),
Ah, that explains it. Thanks.
nginx -V
nginx version: nginx/1.6.2
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2'
--with-ld-opt=-Wl,-z,relro --prefix=/usr/share/nginx
Hi Alex,
nginx -V uses stderr, so try:
nginx -V 2>/tmp/out.txt
This will redirect stderr to the file instead of stdout.
Kind Regards
Andrew
On 11/05/16 15:34, Alex Hall wrote:
Ineeed. Sorry about that. The problem is that I can't capture the output
of nginx -V, as--for some reason--the >
On Wednesday 11 May 2016 10:32:41 AterCattus wrote:
[..]
>
> Речь про окно на соединение. Я не тестил на стримах в 2ГБ (только стримы на
> несколько мегабайт с суммарным трафиком на соединение в 2-3ГБ), хотя сделаю
> сейчас для полноты картины.
>
> Проблема в том, что UPDATE_WINDOW вообще больше
Ineeed. Sorry about that. The problem is that I can't capture the output of
nginx -V, as--for some reason--the > symbol is only producing an empty
file. I can't copy and paste directly from or to the prompt either. If you
tell me what you're looking for in nginx -V, I can tell you that value, but
On Wednesday 11 May 2016 10:13:01 AterCattus wrote:
> AterCattus Wrote:
> >
> > Да, я видел фикс для (RST_STREAM, NO_ERROR). Надеялся, что хоть по
> > превышению 2Г nginx отдаст еще 2Г в window_update, но нет.
> > Выходит, единственное решение - это по истечению окна
> > переподключаться?
> >
>
Валентин Бартенев Wrote:
---
> On Wednesday 11 May 2016 10:06:58 AterCattus wrote:
> > Валентин Бартенев Wrote:
> > ---
> > > On Wednesday 11 May 2016 09:55:40 AterCattus wrote:
> > > > Да,
Hi Alex.
Am 11-05-2016 16:01, schrieb Alex Hall:
Yes, I'm using uwsgi_pass:
uwsgi_pass 127.0.0.1:9876 [1];
Hm. I think you have send the mail to early ;-)
Please can you read again my mail and add some more lines to your
answer, thank you.
Best regards
aleks
On Wed, May 11, 2016 at 9:54
AterCattus Wrote:
---
> Валентин Бартенев Wrote:
> ---
> > On Wednesday 11 May 2016 09:55:40 AterCattus wrote:
> > > Да, конечно. За эти 2ГБ полезной нагрузки успевает выполнится
> пачка
> > >
On Wednesday 11 May 2016 10:06:58 AterCattus wrote:
> Валентин Бартенев Wrote:
> ---
> > On Wednesday 11 May 2016 09:55:40 AterCattus wrote:
> > > Да, конечно. За эти 2ГБ полезной нагрузки успевает выполнится пачка
> > > последовательных запросов
Да, конечно. За эти 2ГБ полезной нагрузки успевает выполнится пачка
последовательных запросов (т.е. nginx присылает все соответствующие HEADERS
и DATA фреймы). Не говоря уже про обмен SETTINGS.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,266812,266814#msg-266814
On Wednesday 11 May 2016 09:55:40 AterCattus wrote:
> Да, конечно. За эти 2ГБ полезной нагрузки успевает выполнится пачка
> последовательных запросов (т.е. nginx присылает все соответствующие HEADERS
> и DATA фреймы). Не говоря уже про обмен SETTINGS.
>
[..]
Так пришлось сделать из-за славного
Валентин Бартенев Wrote:
---
> On Wednesday 11 May 2016 09:55:40 AterCattus wrote:
> > Да, конечно. За эти 2ГБ полезной нагрузки успевает выполнится пачка
> > последовательных запросов (т.е. nginx присылает все соответствующие
> HEADERS
> > и
Yes, I'm using uwsgi_pass:
uwsgi_pass 127.0.0.1:9876;
On Wed, May 11, 2016 at 9:54 AM, Aleksandar Lazic wrote:
> Hi Alex,
>
> Am 11-05-2016 09:24, schrieb Francis Daly:
>
>> On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote:
>>
>> Hi there,
>>
>> We may be finding the
Hi Alex,
Am 11-05-2016 09:24, schrieb Francis Daly:
On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote:
Hi there,
We may be finding the problem... I'm not sure what you mean by
'upstream
service'.
Somehow, you tell nginx to talk to "the next server". It can be with
"proxy_pass" or
On Wednesday 11 May 2016 09:19:58 meteor8488 wrote:
> Hi all, I just updated my configuration files as following
>
> location ~ \.php$ {
> try_files $uri =404;
> if ($arg_mod = "upload" ) {
>
On Wednesday 11 May 2016 07:29:16 AterCattus wrote:
> Доброго времени суток.
>
> Пробую на nginx 1.9.15 использовать http/2, но выходит, что nginx не
> присылает обновления окна для flow control.
> При установке соединения приходит обновление на 2147418112 октетов (плюс
> исходные 65535, что дает
Hi all, I just updated my configuration files as following
location ~ \.php$ {
try_files $uri =404;
if ($arg_mod = "upload" ) {
return
485;
> I updated nginx but the problem persists.
>
> Could it be some sort of misconfiguration of my nginx?
No, but I suggest you try reconfiguring your cipher suites anyway to
exclude anything kerberos related like previously suggested.
Lukas
Доброго времени суток.
Пробую на nginx 1.9.15 использовать http/2, но выходит, что nginx не
присылает обновления окна для flow control.
При установке соединения приходит обновление на 2147418112 октетов (плюс
исходные 65535, что дает максимум) и все, больше ничего.
И после отправки 2ГБ payload в
Thanks for your quickly response.
One more question,
for client_body_buffer_size 16K, if the $request_body >16K, it seems nginx
will put the request body into a temp file, and then no logs in log file,
even though I enabled the request log. Does that mean the best way to keep
the post log is to
Hi @ all. NGINX proxy_pass works great with our internal servers. Thanks for
the good work.
Now I want to proxy_pass an external server and I have to use our proxy for
this to get an external connection.
I checked with tcpdump and Wireshark. NGINX sends
"GET /uri HTTP/1.1
HOST: external.com"
Благодарю, исчерпывающе.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,266798,266801#msg-266801
___
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
I updated nginx but the problem persists.
Could it be some sort of misconfiguration of my nginx?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,266590,266800#msg-266800
___
nginx mailing list
nginx@nginx.org
Hello!
On Wed, May 11, 2016 at 06:39:59AM -0400, milex wrote:
> Добрый день, коллеги!
>
> Провожу нагрузочное тестирование абстрактного сервера на базе Nginx+OpenSSL
> с помощью JMeter. На сервере выполняется проверка клиентского сертификата
> (двусторонняя аутентификация). Со стороны JMeter
Добрый день, коллеги!
Провожу нагрузочное тестирование абстрактного сервера на базе Nginx+OpenSSL
с помощью JMeter. На сервере выполняется проверка клиентского сертификата
(двусторонняя аутентификация). Со стороны JMeter создан контейнер с
сертификатом клиента. Во время теста генерируются сотни
Используете slice модуль. Он для этого и писан.
> 10 мая 2016 г., в 20:40, kycedbi написал(а):
>
> Коллеги, здравствуйте.
> Использую nginx для проксирования и кэширования на диск видео-файлов (mp4)
> из социальной сети ВКонтакте.
> Приложение на php узнаёт ссылку
On Wed, May 11, 2016 at 01:39:14AM -0400, meteor8488 wrote:
> log_format plog '$remote_addr - $remote_user [$time_local] "$request"
> '
> '$status $body_bytes_sent "$http_referer" '
> '"$http_user_agent" "$http_x_forwarded_for" "$request_body"';
What do you think that the
On Tue, May 10, 2016 at 05:09:21PM -0400, Alex Hall wrote:
Hi there,
> We may be finding the problem... I'm not sure what you mean by 'upstream
> service'.
Somehow, you tell nginx to talk to "the next server". It can be with
"proxy_pass" or "fastcgi_pass" or, most likely here, "uwsgi_pass".
>You can read the headers_in data structure, and write the headers_out
>data structure, as the examples show.
I was able to write in headers_out data structure as i have shown my code
already but i was not able to read from headers_in structure that is
problem i am facing.
I am looking solution
55 matches
Mail list logo