On Sat, Aug 21, 2010 at 12:11:25PM +0600, Илья Шипицин wrote: > фаирвол тут ни при чем, ответ же прилетает "record too long". > здесь детская ошибка - включить внутри хоста "ssl on" и забыть > включить "listen ssl". Это не детская ошибка, а нby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Aug 20, 2010 at 02:03:07PM +0400, Vitaliy Okulov wrote: > Добрый день. > На нашел обсуждение в архиве рассылки на данную тему, решил написать, > кто-нибудь настраивал в nginx домены в зоне РФ. Что нужно указывать в > server_name? server_name # ramblerby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Aug 20, 2010 at 03:25:20PM +0600, Алферов Василий wrote: > rewrite ^/(.php)$ /index.php?/$1 last; > переписывает /aaaa.php -> /index.php?/.php Нет, он переписывает только /.php -> /index.php?/.php или /Qphp -> /index.php?/Qphp или /1php -> /index.php?/1php -- Игорь Сысоев http://sysoev.ru ________by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Aug 17, 2010 at 05:38:55PM -0700, antituhan wrote: > If I put the deny rules on a root directive, the rule will blocked all > access. But I just want to block the specified extension. :( I've tried many > regular expression, but I can't find the right one :( What is in error_log ? -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailiby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 17, 2010 at 01:36:05PM +0700, Пётр Шевцов wrote: > Дело в том, что все хосты должны "смотреть" в одну директорию, а там уже CMS > сама определяет, что выдавать в заисимости от хоста. Это нужно только для первого сервера с регуby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Aug 16, 2010 at 01:52:17PM -0400, evms wrote: > Is there any way possible I can use perl_set within a Location > directive? > > > perl_set $test_transformation 'sub { > my $r = shift; > $result = list_rewrite::handler($r, "/test.asp"); > return $result; > };'; > > I have this withby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 16, 2010 at 05:21:42PM +0700, Пётр Шевцов wrote: > Приветствую! > > В конфиге следующее: > > server { > > > listen 80; > > > server_name ~^www\.(?P<name>.+)$; > > > rewrite ^ http://$name$request_uri? permanent; > > > access_log /var/log/nginx/$name.by Igor Sysoev - Nginx Mailing List - Russian
On Sun, Aug 15, 2010 at 12:28:03PM +0400, Sergey Shepelev wrote: > 2010/8/15 Andrey Velikoredchanin <uncleandyv@gmail.com>: > > Есть планы организовать хранение картинок на внешнем сервере. Но в то-же > > время не хотелось-бы использовать на странице внешние ссылки.by Igor Sysoev - Nginx Mailing List - Russian
On Sun, Aug 15, 2010 at 03:08:11PM -0400, Fedia wrote: > Windows XP > на диске есть 2 папки: > C:/Program Files/www/ > C:/Program Files/KLUpdater/Updates/ > нужно чтобы они были доступны по > адресам соответственно: > http://192.168.23.1:8080/ > http://192.168.23.1:8080/files/ > > вот часть коby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Aug 15, 2010 at 06:45:09AM -0700, kevin wrote: > > Sorry, the slashes should be escaped, this is working configuration: > > > > location ^~ /\\"http:\\/\\/ { > > return 404; > > } > > > > "^~" is to disable regex locations. > > > thanks a lot! this catches it and returns 404! > > is it possibby Igor Sysoev - Nginx Mailing List - English
On Sat, Aug 14, 2010 at 12:14:46PM -0700, kevin wrote: > On Sat, Aug 14, 2010 at 12:01 PM, Edho P Arief <edhoprima@gmail.com> wrote: > > > On Sun, Aug 15, 2010 at 1:49 AM, kevin <kevincastiglione@gmail.com> wrote: > > > On Sat, Aug 14, 2010 at 11:42 AM, kevin <kevincastiglione@gmail.com> > > wrote: > > >> > > >> On Sat, Aug 14,by Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 13, 2010 at 07:43:58PM -0700, kevin wrote: > requests like these are hitting my server, and i want to catch these > requests, and return 'not found' from nginx. i dont want it to hit my > fastcgi backend. > > [13/Aug/2010:19:39:26 -0700] "POST /%5C%22http:%5C/%5C/ > photos-b.ak.fbcdn.net%5C/photos-ak-snc1%5C/v43%5C/64%5C/68931197560%5C/app_2_68931197560_3211.gby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 10, 2010 at 10:55:21AM -0400, MattWard wrote: > Hi all, > > I've got an nginx frontend/apache backend setup with nginx using > proxy_pass to pass requests for location / to my Apache server on > localhost:8080. I've got a location setup to catch css/js/images/html > etc. and serve them statically via nginx (fairly standard I believe). > > My question is, thisby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 10, 2010 at 03:12:47AM +0100, Eugaia wrote: > > > nginx adds the padding only for built-in error pages. > > It does not add the padding for custom error pages by error_page or > > error pages received from proxied, FastCGI, uWSGI, and SCGI servers. > > > Any reason why not? It makes sense to add it for others too, surely? If error page has no Conteby Igor Sysoev - Nginx Mailing List - English
On Tue, Aug 10, 2010 at 01:16:51AM +0100, Eugaia wrote: > It's a 'feature' of Chrome, IE and probably some other browsers too. > > http://wiki.nginx.org/NginxHttpCoreModule#msie_padding > > If you're using version < 0.8.25, or msie_padding is set to 'off', then > padding up to 512 bytes won't be done for Chrome when error pages are > generated. nginx adds the paddingby Igor Sysoev - Nginx Mailing List - English
I'm on vacation since August 10 to 24. -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
Я в отпуске с 10 по 24 августа. -- Игорь Сысоев http://sysoev.ru _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://nginx.org/mailman/listinfo/nginx-ruby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Aug 09, 2010 at 02:03:27PM -0400, desiato wrote: > (You can see this pretty-printed at > http://serverfault.com/questions/168098/nginx-just-started-inserting-spurious-coms-into-our-urls > ) > > I made some minor changes to our nginx config on Friday (deploying SSL > certs: adding a server listening on 443 with the appropriate settings > and adding a couple rewrite ruby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 07:12:11PM +0100, Nuno Magalhães wrote: > Hi, I'd suggest changing > > > server { > > listen 80; > > server_name domain.com production.domain.com; > > root /var/www/domain.com/; > > to root /var/www/domain.com; No, the trailing slash in root can not do this. > and re-check youby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 09:11:27AM -0400, nginx_newbie wrote: > Dear Igor, > > Thanks for taking the time to look into my problem! > Since I wanted error404.htm to be parsed by PHP, I removed the > error_page line > and corresponding location block from the configuration file and placed > a new > error_page line within the location block that is passing all HTM files >by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 11:59:02AM +0200, Fernando Perez wrote: > I'll use actual values: > > A public request looks like: > > /uploads/2009/product.jpg > > > An a restricted request looks like: > > /uploads/2009/restricted/product.mp4 > > > So I have: > > location ~ /restricted/ { > internal; > root ...; > } > > location ^~by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 11:53:30AM +0200, Fernando Perez wrote: > > Place > > > > location ~ /WORD/ { > > ... > > } > > > > as the first location in a server. > > I have placed as the first location of my server: > > location ~ /WORD/ { > internal; > root ... > } > > But it still gets served directly by ngiby Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 11:16:53AM +0200, Fernando Perez wrote: > Hi, > > I am trying to catch any request that has WORD in the url, eg: > > catch: http://example.org/whatever/path/WORD/file.pdf > > don't catch: http://example.org/some/other/path/anotherfile.jpg > > and if simple to do, don't catch: http://example.org/folder/WORD.doc > > > I tried: >by Igor Sysoev - Nginx Mailing List - English
On Mon, Aug 09, 2010 at 12:35:48AM -0400, nginx_newbie wrote: > Dear Edogawaconan / Igor, > > I tried both the above corrections but still the problem remains the > same. As suggested > by Igor, I have removed > > -------------------------------------------- > > if (-f $request_filename) { > > break; > > } > ------------------------------------------- &by Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.49 09 Aug 2010 *) Feature: the "image_filter_jpeg_quality" directive supports variables. *) Bugfix: a segmentation fault might occur in a worker process, if the $geoip_region_name variables was used; the bug had appeared in 0.8.48. *) Bugfix: errors intercepted by error_page were cached oby Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.8.49 09.08.2010 *) Добавление: директива image_filter_jpeg_quality поддерживает переменные. *) Исправление: при использовании переменной $geoip_region_name в рабочем процессе мог произойти segmentaby Igor Sysoev - Nginx Mailing List - Russian
Изменения в nginx 0.8.49 09.08.2010 *) Добавление: директива image_filter_jpeg_quality поддерживает переменные. *) Исправление: при использовании переменной $geoip_region_name в рабочем процессе мог произойти segmentaby Igor Sysoev - Nginx Announcements - Russian
Changes with nginx 0.8.49 09 Aug 2010 *) Feature: the "image_filter_jpeg_quality" directive supports variables. *) Bugfix: a segmentation fault might occur in a worker process, if the $geoip_region_name variables was used; the bug had appeared in 0.8.48. *) Bugfix: errors intercepted by error_page were cached oby Igor Sysoev - Nginx Announcements - English
On Sun, Aug 08, 2010 at 03:01:08AM -0400, agz wrote: > Так, хорошо. Поставим вопрос по > другому: > Как в nginx запретить доступ через > неанонимные прокси? > То есть если присутствует X-Forwarded-For - > отдавать 403. > Как то так: > if ($http_x_forwarded_for = 1by Igor Sysoev - Nginx Mailing List - Russian
On Sun, Aug 08, 2010 at 12:05:20PM +0400, SaveFrom.net wrote: > Здравствуйте. > Каким образом ищется соответствие при использовании вложеных location? > > Правильно ли я понимаю, сначала происходит поиск по locations первого > уровня, затем регулярby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|