On Mon, Jul 18, 2011 at 07:03:03AM +0100, Jürg Lehni wrote: > You are right, so here it is: > > The same site running on Nginx: > > http://lineto.com:81/The+Fonts/Font+Categories/Text+Fonts/Akkurat/Normal/ Sometimes I see some delays on both URLs. You can try to increase nginx workers priority: worker_processes NN; worker_priority -10; # man nice -- Igor Sysoev _______by Igor Sysoev - Nginx Mailing List - English
On Fri, Jul 15, 2011 at 10:28:14AM +0200, Q & A wrote: > Hi, > I'm experiencing some random nginx crashes. My server is Ubuntu 10.04, > with glibc 2.11.1-0ubuntu7.8. Here is an excerpt from the log file: > > 2011/07/15 05:15:14 3299#0: *2788234 open() "[...]" failed (2: > No such file or directory), client: [...], > server: [...], request: "GET /robots.txtby Igor Sysoev - Nginx Mailing List - English
On Thu, Jul 14, 2011 at 07:59:52AM -0400, Qaz wrote: > Спасибо Игорь что Вы лично отписали, но > так тоже не работает, перенаправляет на > domain.com :( Редиректит или сразу показывает domain.com ? Скорее всего, ошибка в регулярном выражении. server { sby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jul 14, 2011 at 04:57:29PM +0700, Denis F. Latypoff wrote: > 14.07.2011, 16:52, "Qaz" <nginx-forum@nginx.us>: > > Добавлю: тоесть редиректить > > messenger.*.domain.com на messenger.domain.com > > > server { > listen 80; > server_name A.*.B.C; server_name ~^messenger\.[^\.]+\.domby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jul 14, 2011 at 02:23:48PM +0400, Глазачев Владимир wrote: > как-то так: > > > if ($host !~* (messenger.domain.com)) { > rewrite (.*) http://messenger.domain.com$1 permanent; > } Ни в коем случае: http://nginx.org/en/docs/http/converting_rewrite_rules.html > 14.07.2011, 13:52, "Qaz" <nginx-foby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jul 13, 2011 at 01:23:00AM -0400, sergeyn wrote: > Там все хорошо, но я не знаю того, что > должен знать человек, читающий эту > документацию. Например: > > location ~ \.php$ { > include /etc/nginx/fastcgi_params; > if ($uri !~ "^/images/") { > fastcgi_pass 127.0.0.1:9000by Igor Sysoev - Nginx Mailing List - Russian
12.07.2011, в 13:19, "locojohn" <nginx-forum@nginx.us> написал(а): > Игорь, но что, если мне кроме PATH_INFO нужно > и SCRIPT_URL/SCRIPT_URI правильные поставить, не > url-encoded? Дело в том, что SCRIPT_URL/SCRIPT_URI, для > совместимости со старыми скриптами, >by Igor Sysoev - Nginx Mailing List - Russian
On Jul 12, 2011, at 0:40 , locojohn wrote: > Игорь, я разобрался. В SiteSupra CMS > присутсвовали хитрые rewrite и нужно было > переделать конфигурацию, чтобы location с > кэпчурингом срабатывал. Большое вам > спасибо! rewrite - зло, превращающее конby Igor Sysoev - Nginx Mailing List - Russian
On Jul 12, 2011, at 4:45 , davidkazuhiro wrote: > According to this article http://matt.io/entry/uq nginx is really slow > at SSL. Is this true and should I be using stud to handle SSL > connections, or is nginx actually fast an it's a configuration issue or > a fluke version of nginx? I believe nginx was not configured to run 8 worker processes. It seems he ran only 2 worker processby Igor Sysoev - Nginx Mailing List - English
On Jul 11, 2011, at 21:05 , locojohn wrote: > Denis F. Latypoff Wrote: > ------------------------------------------------------- > >>> Как именно получается >> PATH_INFO ? Если rewrite/set, >>> то кодируется. Нужно так: >>> >> - location ~ \.php(<?PATH_INFO>/.+)$ { >> + location ~ \.php(?<Pby Igor Sysoev - Nginx Mailing List - Russian
On Jul 5, 2011, at 18:08 , temma wrote: > Я в своем модуле выделяю память из пула > (ngx_palloc/ngx_pcalloc). Неужели ничего не нужно > "освобождать" после использования ? Я > понимаю что память остается в пуле, но > неужели не нужно никby Igor Sysoev - Nginx Mailing List - Russian
On Jul 11, 2011, at 20:16 , temma wrote: > И как этот обьект определяет, что > память из пула нужно освободить ? Что > она уже не нужна ? Когда объект удаляется, он удаляет пул. -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx-ru mailing listby Igor Sysoev - Nginx Mailing List - Russian
On Jul 9, 2011, at 18:17 , vagner wrote: > Извините, разобрался - проблема была в > следующем: > log_format '$remote_addr - $remote_user [$time_local] ' > '"$request" $status $bytes_sent > $request_time [$upstream_response_time]' > '"$http_referer"by Igor Sysoev - Nginx Mailing List - Russian
On Jul 8, 2011, at 14:30 , locojohn wrote: > Увы, cgi.fix_pathinfo=1 уже стоит в php.ini. И это не > меняет дело. Дело в том, что, похоже, > директива fastcgi_param автоматически > url-енкодирует передаваемые строки в > окружение. Например: > > set $test $uri;by Igor Sysoev - Nginx Mailing List - Russian
On Jul 8, 2011, at 13:17 , TinyApps.Org wrote: > Hello all, > > Is it possible to disable / ignore / redirect all URLs > with any query string? My site doesn't use query strings, > and is suffering from blog spam links as described by > these folks: > > How do I remove spam from my blog's Google Blog Search results? > http://www.google.com/support/forum/p/Webmasters/tby Igor Sysoev - Nginx Mailing List - English
On Jul 1, 2011, at 19:58 , bindsocket wrote: > Having a huge problem with the auth_basic. Despite putting in the exact > same lines as what I found in many examples, the web server is still > allowing access even without sending any authorization. > Relevent conf bits: > > server { > listen 80; > server_name my.servers.name.com; > log_format fullCombined '$rby Igor Sysoev - Nginx Mailing List - English
On Tue, Jun 28, 2011 at 01:41:40PM -0400, setter wrote: > т.е. можно не писать root /var/www/servername1; > в location ~* > \.(gif|jpg|jpeg|png|bmp|ico|js|css|txt|html|htm|xml|swf|flv)$ { > а сам location оставить? Его не нужно оставлять. Они будут обрабатываться в "location /". -- Igor Sysoev ________by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Jun 28, 2011 at 11:47:07AM -0400, ruv wrote: > День добрый! > вылезла странность: неправильно > отрабатываться один из двух подобных > запросов. > > я упростил конфиг до минимума — при > удалении любой "ненужной" строки глby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Jun 27, 2011 at 01:20:51PM -0400, unlo wrote: > Приветствую! > > Пытаюсь настроить что-то вроде > авторизационной прокси > (авторизовавшись в nginx, пользователи > могут посещать требующие авторизацию > ресурсы без авторизации нby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Jun 28, 2011 at 05:01:01AM -0400, Sib wrote: > Спасибо, работает. Правильно > использовать без $is_args? proxy_cache_key > "$request_method|$host|$request_uri"; Если POST'ы не кэшируются, то я бы ещё убрал $request_method, поскольку для GET и HEAD будут два закэшированby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Jun 28, 2011 at 04:44:15AM -0400, Sib wrote: > Пробовал простой конфиг страницы не > берутся их кэша. > > listen 127.0.0.1:80; > server_name example.com www.example.com; > proxy_temp_path /var/cache/nginx/example.com; > > location / { > proxy_pass http://127.0.0.1:8080; > proxy_redirect off; > proxy_set_header Hby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Jun 25, 2011 at 03:37:17AM -0400, speedfirst wrote: > I saw some nginx configs written like this: > > location ~ { > ... > proxy_pass http://upstream1; > proxy_pass http://upstream2; > ... > } > > What this config meaning? proxy_pass to upstream2 if proxy_pass to > upstream fails? This is a wrong configuration, as well as location ... {by Igor Sysoev - Nginx Mailing List - English
On Sat, Jun 25, 2011 at 08:22:21AM +0400, Igor Sysoev wrote: > On Fri, Jun 24, 2011 at 07:04:04PM -0400, Ensiferous wrote: > > Yeah it's a weird situation. As a user I would probably expect that the > > range applied to the actual content served, before it was compressed. So > > that if I request 100 bytes when everything is transferred and > > decompressed I have 100 byby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 24, 2011 at 07:04:04PM -0400, Ensiferous wrote: > Yeah it's a weird situation. As a user I would probably expect that the > range applied to the actual content served, before it was compressed. So > that if I request 100 bytes when everything is transferred and > decompressed I have 100 bytes worth of content. A "Content-Length" header of a gzipped response correby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 24, 2011 at 01:46:46PM -0400, Ensiferous wrote: > Hi! > > A question was posed in IRC yesterday about Range requests not being > honoured when using gzipping. > After testing it I've confirmed that there appears to be a problem. > > I've put a test file online you can test against: > http://216.218.189.55/range.txt > > The following curl runs were usedby Igor Sysoev - Nginx Mailing List - English
On Mon, Jun 20, 2011 at 02:53:16AM +0300, Vladimir Getmanshchuk wrote: > Спасибо за ответ! > Какие есть сему подтверждения? Да, это так. То же самое касается geo и прочего. -- Igor Sysoev > 2011/6/16 Mikhail Mazursky <ash2kk@gmail.com> > > > > > Переменная "вычисляетby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Jun 18, 2011 at 11:40:34AM +0400, Vitaly Tskhovrebov wrote: > Не знаю официальных источников, честно говоря, я это недавно вычитал. > Вот здесь пишут: http://www.pentarh.com/wp/2008/07/18/using-nginx-apache/ > > следующее: > > Можно настроить прием соединений чby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Jun 17, 2011 at 09:56:14AM -0400, mallrat wrote: > Решили проблему? Мне требуется в одном > из location отдавать файлы которые > находятся выше установленного > глобально root, тоже попытался сделать > как-то так: > root /opt/webapp/common/public/; > loby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jun 16, 2011 at 03:26:24PM -0700, Dave Hayes wrote: > Hello. I'm using FreeBSD 7.4-RELEASE with Nginx 1.0.3 built from ports: > > # nginx -V > nginx: nginx version: nginx/1.0.3 > nginx: TLS SNI support enabled > nginx: configure arguments: --prefix=/usr/local/etc/nginx > --with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib' > --conf-path=/usby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 16, 2011 at 08:19:09AM -0400, etrader wrote: > I installed nginx (0.8.7) by rpm on Centos with php-fpm. The total > memory used was about 45K > > I installed nginx (1.0.4) from source on the same conditions, but the > total memory used is about 90K > > as I compared the memory usage by top, I can see the amount used by each > php-fpm process is double in the lby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|