On Sun, Jun 13, 2010 at 07:42:05AM -0400, vgoncharov wrote: > Всем привет. > > Подскажите, где правильно взять /etc/init.d/nginx? > В частности для CentOS. > > Какое-то время назад чего-то нашел на гугле в стиле "доделай сам". Может есть какое-то коby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Jun 13, 2010 at 02:51:55PM +0200, Anton Bessonov wrote: > > > Официального варианта не существует. > > > А надо бы. Если кто-нибудь предложит вариант, который устроит всех (или почти всех), я добавлю его в contrib. -- Игорь Сысоев http://sysoev.ruby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Jun 13, 2010 at 06:35:31AM -0400, Craken wrote: > Здравствуйте Уважаемый Igor Sysoev! > Сразу хочу поблагодарить Вас за ответ и за поправку! > Подскажите пожалуйста, на уровне nginx'a реально ли все таки добавить "недостающий" слеш, илиby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Jun 13, 2010 at 12:30:52AM -0400, Craken wrote: > Здравствуйте товарищи! > Проблема вот в чем! > Ставлю у себя на ресурсе "фильтр" ссылок! Ресурс на пхп! В качестве "фильтрирования" использую preg_replace(); ! > И вот тут возникла пby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Jun 12, 2010 at 12:19:16AM -0400, stdragon wrote: > Hi all, > > I found nginx a little while ago and I've been working on a fast wordpress setup with it. One thing I'm having a problem with is serving cached pages with an expiration. > > So I have this (simplified a bit): > > location / { > # If it's a real static file just serve it, otheby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 11, 2010 at 04:07:10PM -0400, Peter Portante wrote: > Hi Igor, > > This is working great. Thank you! > > Should we be prepared to maintain this as a patch on the 0.8 stream, or > would some variation of this fix be folded into 0.8 (via some config setting > or as the new behavior)? > > And while we are at it, how stable is 0.8? I thought I had seen some &by Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 11, 2010 at 06:41:36AM -0400, Sergey Skipidarov wrote: > Добрый день. > > nginx/0.6.39 rhel5 > > Есть нжинкс и мемкеш > В мемкеше лежит главная > При выдаче страницы из мемкеша дописываю > add_header Content-Type "text/html; charset=windows-1251"; > > Вby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Jun 11, 2010 at 02:04:31PM +0400, Роман wrote: > Не подскажите в чем проблема. > Такое ощущение что limit_req_zone не работает в CentOs, тк скачивать > можно в сколько угодно сессий. > Под фей все нормально работало. > > в конфиге прописаby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Jun 11, 2010 at 11:38:27AM +0200, Life Life wrote: > I have this config, I need to use jpg in /data/abc/files/ but when I > browse it nginx will use file jpg in /var/www/images (second condition), > how to fix it? > > root /var/www/images; > > location = /abc/files/ { > alias /data/abc/files/; > break; > } > > location ~* ^.+.(jpg|jpegby Igor Sysoev - Nginx Mailing List - English
On Fri, Jun 11, 2010 at 02:54:35AM -0400, Peter Portante wrote: > Hi Folks, > > We are running into a small problem with bad HTTP clients. > > We have sold a bunch of hardware with embedded HTTP clients which don't > URL-encode the parameter values. For example: > > GET /a/r?did=X234 567 Y HTTP/1.1 > > We were using a pair of Apache servers behind a hardware loby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 02:55:26PM -0400, bkirkbri wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > The bug is in "alias/if" combination. "root" > > should work: > > > > location ~ \.html$ { > > root /tmp; > > ... > > > > > > --by Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 01:56:19PM -0400, bkirkbri wrote: > I'm seeing a problem with static file handling when using multiple -f tests in a location block. I could be doing something stupid, but from the debug log it looks like a bug is corrupting the pathname nginx uses to serve the static file... > > The corrupt filename should be "/tmp/home.html" but is in the debug log aby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 07:36:56PM +0200, Rob Schultz wrote: > > On Jun 10, 2010, at 7:23 PM, Boris Dolgov wrote: > > > Hello! > > > > On Thu, Jun 10, 2010 at 8:44 PM, Rob Schultz <rschultz7@gmail.com> wrote: > >> Just for clarification it doesn't matter logically where he puts the > >> location as long they are in the same server section. Ngiby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 06:41:59PM +0400, Igor Sysoev wrote: > On Thu, Jun 10, 2010 at 05:09:49PM +0400, TJ@dir.bg wrote: > > > Приветствую! > > > > Nginx 0.7.65, debian > > > > Есть мемкеш, в нем по ключу "$host:$uri" лежит содержимое страницы > > (ключи экспарятся кажby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jun 10, 2010 at 05:09:49PM +0400, TJ@dir.bg wrote: > Приветствую! > > Nginx 0.7.65, debian > > Есть мемкеш, в нем по ключу "$host:$uri" лежит содержимое страницы > (ключи экспарятся каждую минуту). > > Если такого ключа нет, управление перby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jun 10, 2010 at 10:03:22AM -0400, alexdem wrote: > нашел решение http://dotimes.com/iscale/2008/10/standalone-moinmoin-wiki-with-nginx-proxy.html > с использованием mod_wsgi Это плохое решение, написаное человеком с rewrite-мозгами. Вот правильное решение: proxy_set_header Hostby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jun 09, 2010 at 04:22:36PM -0400, alexdem wrote: > проблема следующая настроил Wiki движок в Apache, прекрасно работает > данные wiki расположены в каталоге /srv/www/moinmoin > все страницы правильно отображаются с использованием css > > основнаby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Jun 10, 2010 at 03:09:34PM +0200, Axel wrote: > Igor, > > I'm trying to follow your advise but look: > > > # ROUTING TO KOHANA IF REQUIRED > location / { > try_files $uri $uri/ @kohana; > } > > # HANDLES THE REWRITTEN URLS TO KOHANA CONTROLLER > location @kohana > { > fastcgi_pass 127.0.0.1:9000; > fastcgi_index index.php; >by Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 08:02:07AM -0400, dandadude wrote: > Hi! > > I am using Gentoo, and thus have several options on how to configure Nginx. > I have never used Nginx before, and I would like to start using it as strictly a reverse proxy. > > The Gentoo use-flags are here: > http://www.gentoo-portage.com/www-servers/nginx/USE#ptabs > > Can you advise me the mostby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 12:22:04PM +0200, Axel wrote: > thanks for your help. Actually I wrote my entire configuration file again from scratch. It works very well now: http://pastebin.com/pCL2dy9Z > I'll post this configuration somewhere for Kohana users because it's been was a pain to get it work. This is wrong configuration. 1) All these set $server_type prod; set $medby Igor Sysoev - Nginx Mailing List - English
On Thu, Jun 10, 2010 at 06:31:59AM +0200, Tamás Gulácsi wrote: > > Date: Thu, 10 Jun 2010 00:42:07 +0400 > > From: Igor Sysoev <igor@sysoev.ru> > > To: nginx-devel@nginx.org > > Subject: Re: nginx-0.8.40 on AIX 5.3 > > Message-ID: <20100609204207.GD15263@rambler-co.ru> > > Content-Type: text/plain; charset=iso-8859-1 > > > > On Wed, Juby Igor Sysoev - Nginx Development
On Thu, Jun 10, 2010 at 12:05:06AM +0200, Grzegorz Sienko wrote: > Hello. > > It's passed to fastcgi because of location / that captures uri to pass > to fastcgi. > > I will say, that: It's not the best solution what Igor suggest. It > will get rid of the problem, but is not a real solution. > > You should use: > > location ~ / { The location above will handlby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 09, 2010 at 10:59:15PM +0400, Игорь Хомяков wrote: > здесь http://tools.ietf.org/html/rfc4918#section-10.3 написано что он > *может* быть абсолютным, > и в примерах Destination абсолютный, но я не вижу требования этого. > > поправте меня пож-ста если я нby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jun 09, 2010 at 10:26:44PM +0200, Tamás Gulácsi wrote: > I'm rtying to cimpile nginx-0.8.40 on AIX 5.3 with xlc_r > > chmod 644 > /home/kobe/kobed/tgulacsi/szemet/nginx-0.8.40/../openssl-1.0.0a/.openssl/lib/pkgconfig/openssl.pc > Target "install" is up to date. > xlc_r -q64 -c -I src/core -I src/event -I src/event/modules > -I src/os/uby Igor Sysoev - Nginx Development
On Wed, Jun 09, 2010 at 11:08:59PM +0400, Aleksander wrote: > Wed, 9 Jun 2010 22:59:15 +0400 письмо от Игорь Хомяков <homyakov@embria.ru>: > > здесь http://tools.ietf.org/html/rfc4918#section-10.3 написано что он > > *может* быть абсолютным, > > и в примерах Destination абсолютный, но я неby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jun 09, 2010 at 03:56:36PM -0400, bkirkbri wrote: > I understand perfectly. Being clever with lots of rewrites and regexs does make the config shorter but we have been bitten in the past by unintended side-effects of all that rewrite chaining (in Apache). You want to keep making the same mistake. nginx allows to make easily maintainable configuration. Just forget about rewrites. Youby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 09, 2010 at 10:31:57PM +0400, Игорь Хомяков wrote: > Игорь, в Destination приходится указывать полный URL, Destination: > dav/abc/file.jpg не работает. > Я посмотрел в коде и насколько я понял host там обязателен ? Да, это стандарт WebDAV. -- Игорь Сысоby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jun 09, 2010 at 12:13:22PM -0400, bkirkbri wrote: > Thanks Igor! > > I should have been more specific though. Sometimes the same resource is referenced in a versioned _and_ non-versioned form. Also, the versioning applies to many resource locations. > > So we would need many config entry pairs like this: > > > location ~ ^/r\d+(/some/resources/.+)$ { >by Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 09, 2010 at 08:06:35PM +0200, Axel wrote: > I tried to review all my configuration. I do not understand why PDF files are returned inline to the browser. Images, videos and flash files are properly sent, why not pdt and zip? > has anyone the same issue? > > @Igor: here the debug log http://pastebin.com/K4E6yvpD /inc/BC_RV_2010.pdf is passed to fastcgi and it returns &quoby Igor Sysoev - Nginx Mailing List - English
On Wed, Jun 09, 2010 at 10:32:21AM -0700, kevin wrote: > hi > how do i do this rewrite in nginx? can you help me out > > id.quiz.xx.com -> quiz.xx.com/?quiz_id=id server { server_name ~^(?<id>.+)\.quiz\.xx\.com$; rewrite ^ http://quiz.xx.com/?quiz_id=$id; } -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|