Welcome! Log In Create A New Profile

Advanced

http_basic_autentification + Connection Upgrade

July 15, 2015 05:37AM
Конфиг Nginx:
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

auth_basic "Private Area";
auth_basic_user_file /var/www/secur/.htpasswd;

location / {
proxy_pass http://xxx.xxx.xxx.xxx:8080/;
break;
}

Заметил что при таком конфиге файл htpasswd дергается постянно, после авторизации при работе с потоковым приложением, видимо идет проверка basic auth на каждый пакет, а это лишняя нагрузка на дисковую подсистему. Незнаю баг ли это, решил спросить у вас.
Subject Author Posted

http_basic_autentification + Connection Upgrade

artsnz July 15, 2015 05:37AM

Re: http_basic_autentification + Connection Upgrade

Maxim Dounin July 15, 2015 12:30PM

Re: http_basic_autentification + Connection Upgrade

artsnz July 15, 2015 05:52PM

Re: http_basic_autentification + Connection Upgrade

Daniel Podolsky July 16, 2015 04:18AM

Re: http_basic_autentification + Connection Upgrade

Maxim Dounin July 16, 2015 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready