Welcome! Log In Create A New Profile

Advanced

Re: proxy_socket_keepalive on;

December 11, 2018 09:42AM
Maxim Konovalov Wrote:
-------------------------------------------------------

> Вред от включения этой ручки вряд ли будет.


Можно тогда последний идиотский вопрос - конкретно в моём случае (вебсервер из связки nginx + apache)

vhost .conf nginx:

upstream http_backend {
server 127.0.0.1:8080;
keepalive 100;
}
location / {
proxy_pass http://http_backend;
proxy_redirect http://http_backend /;
proxy_http_version 1.1;
proxy_set_header Connection "";
}

nginx.conf :

keepalive_timeout 65;

vhost .conf httpd:

KeepAlive On
KeepAliveTimeout 65

Проблем с нехваткой оперативки нет - free -h:

total used free shared buff/cache available
Mem: 62G 2,6G 50G 325M 9,1G 59G
Swap: 0B 0B 0B

Таки стоит в vhost .conf nginx в секцию location добавить proxy_socket_keepalive on; или нет (при условии что неизвестно "умный стейтфул файрволл" или "не самый умный" :) ) ?

И извините за мою очевидную ламернутость :)
Subject Author Posted

proxy_socket_keepalive on;

suffix December 10, 2018 06:53AM

Re: proxy_socket_keepalive on;

Maxim Dounin December 10, 2018 08:38AM

Re: proxy_socket_keepalive on;

suffix December 11, 2018 03:54AM

Re: proxy_socket_keepalive on;

Oleg A. Mamontov December 11, 2018 05:44AM

Re: proxy_socket_keepalive on;

suffix December 11, 2018 06:25AM

Re: proxy_socket_keepalive on;

Maxim Konovalov December 11, 2018 06:34AM

Re: proxy_socket_keepalive on;

suffix December 11, 2018 09:42AM

Re: proxy_socket_keepalive on;

Maxim Dounin December 11, 2018 10:04AM

Re: proxy_socket_keepalive on;

suffix December 11, 2018 11:11PM

Re: proxy_socket_keepalive on;

Maxim Dounin December 12, 2018 07:56AM

Re: proxy_socket_keepalive on;

suffix December 12, 2018 08:40AM

Re: proxy_socket_keepalive on;

Maxim Dounin December 12, 2018 10:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready