Quantcast
Channel: Nginx Forum - Nginx Mailing List - Russian
Browsing all 3102 articles
Browse latest View live

Rewrite .htaccess для nginx (no replies)

Доброго времени суток.Пытаюсь преобразовать такую конструкциюRewriteRule ^category-(.*)-(.*).html index.php?$2 [QSA,L,NC]RewriteRule ^forum-(.*)-(.*).html forum.php?$2 [QSA,L,NC]RewriteRule...

View Article


Почему nginx убирает заголовок Content-Length с ответа fastcgi ? (2 replies)

Доброго времени суток!С fastcgi приложения передаю заголовок Content-Length, но nginx его убирает (.не могу понять почему и зачем.кусочек debug.log :2014/10/07 21:35:51 [debug] 2740#0: *11 http fastcgi...

View Article


nginx-1.6.2 Ошибочный синтаксис в конфигурации (4 replies)

server (...index index.htmlinclude include.conf;....}Результат:Performing sanity check on nginx configuration:nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is oknginx:...

View Article

mod_zip (6 replies)

привет.Делаю под gentoo ebuild:....nginx_modules_http_mod_zip? ( https://github.com/evanmiller/mod_zip/archive/master.zip -> ngx_mod_zip.zip )....NGINX_MODULES_3RD="....http_mod_zip"....if use...

View Article

1 basic auth - много субдоменов (3 replies)

Добрый вечер,Возможно ли настроить HTTP Basic Authentication (auth_basic/auth_basic_user_file) так чтоб однажды успешная авторизация работала на всех...

View Article


Как передать nginx директиву серверу ? (3 replies)

Здравствуйте.Нужно передать значения 2ух директив nginx (1 из них от подключаемого модуля comet) проксируемому серверу.В конфиге параметры заданы:push_stream_longpolling_connection_ttl...

View Article

function ngx_memcmp: ограничение по памяти. (no replies)

Привет всем.Использую модуль nginx_push_stream_module для реализации push-механизма server -> browser.В определенный момент, когда очередной клиент пытается встать на канал, начинает возвращаться...

View Article

Re: function ngx memcmp: ограничение по памяти. (3 replies)

Hello!On Tue, Oct 14, 2014 at 05:42:54AM -0400, JohnBat26 wrote:> Привет всем.> Использую модуль nginx_push_stream_module для реализации push-механизма> server -> browser.> В...

View Article


misite1.ru открывается, subdomain.mysite1.ru нет, subdomain.mysite2.ru да (1...

Здравствуйте.На моём сервер работает несколько сайтов на nginx. Как серверы имён я использую сервис zonomi.comСейчас получается странная ситуация:ping mysite1.com – OKping subdomain.mysite1.com –...

View Article


unknown directive "server_names_hash_bucket_size:" (4 replies)

[!] root@UVM-PG-PROD-TEST at nginx >:/ sudo apt-get install nginxReading package lists... DoneBuilding dependency treeReading state information... DoneThe following NEW packages will be...

View Article

О целесообразности размещения кеша Nginx в tmpfs (Linux) (1 reply)

Привет сообществу!Ребят, возник такой вопрос:а есть ли профит от размещения кеша Nginx'а на tmpfs *в Linux *?Дело в том, что когда-то, когда настраивал nginx с кешированием, натыкалсяна старую...

View Article

auth_basic error nginx: [emerg] "auth_basic" directive is not allowed here in...

http://nginx.org/ru/docs/http/ngx_http_auth_basic_module.htmlПо документации все должно работать вот так:if ($host ~ "(dev|pma).example.com" ) {auth_basic "Website development";auth_basic_user_file...

View Article

CVE-2014-3566, important SSLv3 vulnerability, known as Poodle. (5 replies)

Здравствуйте, All!http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_protocolsDefault: ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;As most of you already know, there is an important SSLv3...

View Article


Неожиданное поведение location (2 replies)

Доброго времени суток!Наткнулся на неожиданное поведение location в случае правила следующеговида:location ~ ^/lenin.. { return 302 http://www.test.com/leningrad/; }Если пойти по ссылке вида...

View Article

SSL 3 is dead, killed by the POODLE attack (1 reply)

Кстати, Ivan Ristić из SSL Labs считает, что:SSL 3 is dead, killed by the POODLE attackhttps://community.qualys.com/blogs/securitylabs/2014/10/15/ssl-3-is-dead-killed-by-the-poodle-attackИ рекомендует...

View Article


Отключение access_log для некоторых location. (no replies)

Добрый день.Nginx 1.2.1 (Debian 7)Иерархия access_log примерно такая:http {access_log /var/log/nginx/access.log benchmark_upstream;server {server_name site.com;location /foo{access_log off;}access_log...

View Article

location = / (no replies)

Всем привет.Что я делаю не так:server {listen 80 default_server;root /var/www;location = / {access_log /var/log/nginx/root_access.log main;}location / {access_log /var/log/nginx/other_access.log...

View Article


location = / (no replies)

Всем привет.Что я делаю не так:server {listen 80 default_server;root /var/www;location = / {access_log /var/log/nginx/root_access.log main;}location / {access_log /var/log/nginx/other_access.log...

View Article

uid_got uid_set работают? (no replies)

Решил ввести систему отсекания ботов на уровне нгинкса... заморачиватся с пересборкой testcookie_module не решился.userid on;if ($uid_got = "qqk_i=5876790119") {return 404;}и решил не выдавать плюшки,...

View Article

оптимизация client_body на медленной файловой системе (1 reply)

Какие оптимизации рекомендованы при использовании client_body_in_file_only on;?Надо разобраться с минимизацией обращений к файловой системе и реиспользованиюHTTP подключения с клиентом и бэкэндом...

View Article
Browsing all 3102 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>