On Wed, Sep 22, 2010 at 01:21:05PM -0400, Devoll wrote: > Добрый вечер! > > Столкнулся со следующей проблемой: > Настроил nginx таким образом, чтобы в > зависимости от адреса (переменная $host) > статические данные брались с различных > источby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 20, 2010 at 11:32:07AM +0300, Alex Vorona wrote: > 16.09.2010 21:44, Igor Sysoev wrote: > > On Thu, Sep 16, 2010 at 10:14:39PM +0400, Михаил Монашёв wrote: > >> А если файл меньше, чем написано в read_ahead, то сколько читается? > > > > Размер файла. read_ahead не обязательноby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 20, 2010 at 11:23:57AM +0400, Anton Koldaev wrote: > Только $host вместо $server_name в fastcgi_param всё равно приходится > использовать там где "server_name _;". > Это корректно? Да, $server_name - это первое имя в server_name, каким странным оно бы не было. $hostby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 20, 2010 at 10:47:13AM +0400, Anton Koldaev wrote: > Не хочется иметь длинную простыню с аналогичными конфигами. Тем более, если > в server-е множество локейшенов, то ведь всю простыню придется повторять в > каждом из server {}. Ну так всё рby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 20, 2010 at 09:51:36AM +0400, Anton Koldaev wrote: > Привет > Имею вот такой server_name: > > > # Любой поддомен, кроме исключенных > > server_name ~(?<!^one|^two|^three|^www)\.sitename\.ru$; > > > > php-файлы проксируются на php-fpm: > > > location ~ \.(php|php4|php5|by Igor Sysoev - Nginx Mailing List - Russian
On Fri, Sep 17, 2010 at 04:11:59PM +0200, Thomas Delonge wrote: > Igor Sysoev wrote: > > On Fri, Sep 17, 2010 at 03:30:11PM +0200, Thomas Delonge wrote: > > > >> > >> I'm using a more recent development version of nginx. > > > > location = / { > > fastcgi_pass ... > > fastcgi_cache ... > > fastcgi_cache_bypassby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 17, 2010 at 03:30:11PM +0200, Thomas Delonge wrote: > If a user is not logged in, the front page is exactly the same. I asked > a question a while back and it worked for my scenario then: > > http://www.ruby-forum.com/topic/210602 > > That was when I had nginx on the front and apache on the back. I was > using a proxy. Now I'm using fastcgi. > > How can Iby Igor Sysoev - Nginx Mailing List - English
On Wed, Sep 15, 2010 at 08:23:31PM -0400, tdebber wrote: > Hello, > > I am trying to change the HTTP status that is sent when I send a > response to a FastCGI query. In the nginx configuration file, I have > > fastcgi_pass_header Status; You should not pass Status header line. > When generating my return stream, which is done in C++, the first part > of response is:by Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 16, 2010 at 07:06:03PM +0400, Илья Пирогов wrote: > Доброго времени суток. > > Пытаюсь выставить Expires до полуночи: > > location /test.php { > fastcgi_pass 127.0.0.1:1234; > > include /etc/nginx/fastcgi_params; > > fastcgi_param SCRIPT_FILENAME $www_root$fastcgi_script_nby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 04:57:39PM +0400, Михаил Монашёв wrote: > Здравствуйте, Игорь. > > >> >> Я иногда даже не знаю, каких богов восхвалять за то, что я живу здесь > >> >> и сейчас, и что в наличии есть все эти инструменты :)) Меньby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 09:50:26PM +0300, maxhl wrote: > Трудно сказать в чем там проблема ... в свободное время можно будет > попробовать загрузиться с ядра 8.1 ... мастер машина стоит на RAID0 ... > достаточно быстро все работает. Я ... честно ... гоby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 03:29:13PM +0200, Thomas Delonge wrote: > I got some help on this forum yesterday: > http://www.ruby-forum.com/topic/216989#new > > That solved most of my problem; it does pretty much what it should. > > The problem now is that all requests get routed to index.php without > passing anything extra. (I use the codeigniter php framework if that > matby Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 16, 2010 at 10:14:39PM +0400, Михаил Монашёв wrote: > Здравствуйте, Алекс. > > >>>>>>>> Почему не существовало ? А 8.1 ? > >>>>>> AV> Кстати 8.1 уже не нужно патчить для read_ahead. > >>>>>> > >>>>>> Этоby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 05:41:28PM +0300, maxhl wrote: > У меня под vmware 8.1 стабильно вис на дисковых операциях ... правда диск > размечен как один раздел с журналом в конце ... вообще журнал под vmware это > жуткие лаги ... жалею что сделал. Это ... каby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 01:15:45PM -0400, st1905 wrote: > How to match every php file under the admin directory? Thanks. I dont > want to match admin folder globally on the domain. location ~ ^/admin/.+\.php$ -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 16, 2010 at 12:37:01PM -0400, st1905 wrote: > Hello, > > location ~ /admin/ > > Above matches every admin folder on the domain but i just want to match > "/admin" on the url like http://domain.com/admin > > Tried this location = /admin/ > > But that did not work. I`m suing this location to password protect. location = /admin -- Igor Sysby Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 16, 2010 at 03:29:59PM +0400, cronfy wrote: > >> Я иногда даже не знаю, каких богов восхвалять за то, что я живу здесь > >> и сейчас, и что в наличии есть все эти инструменты :)) Меньше месяца > >> (!!) назад решения проблемы не сby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 12:19:07PM +0400, cronfy wrote: > День добрый. > > Игорь, скажи, можно ли как-нибудь посмотреть статистику хитов по > open_file_cache? Включенная на долгое кеширование (2 минуты) директива > себя не оправдала, потому что обнby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 16, 2010 at 12:08:25PM +0400, cronfy wrote: > Здравствуйте! > > > В последнее время на сервере (FreeBSD 7.3, nginx 0.8.20 + apache) > > начали случаться затыки с высоким LA (до 100, в обычном режиме 3-7). > > При этом все воркеры nginx кушают по 20% CPU (by Igor Sysoev - Nginx Mailing List - Russian
On Wed, Sep 15, 2010 at 09:34:56PM -0400, KyleChristensen wrote: > Forgive me if this has been covered before, but I didn't see anything > while searching. > > I have a server setup similar to: > > server { > listen 80; > server_name domain.com someotherdomain.com somethirddomain.com; > rewrite "^(.*)$" http://www.domain.com$1 permanent; >by Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 16, 2010 at 07:02:59AM +0200, Thomas Delonge wrote: > So I've got a couple of requirements. If the file is a resource (image, > stylesheet, etc...) then just serve it. > > Pretty much everything else should be directed through my index.php file > > If the domain has sqlbuddy at the beginning, just use it like normal. > (So if they're going to example.com/sqlbuddby Igor Sysoev - Nginx Mailing List - English
On Wed, Sep 15, 2010 at 02:36:58PM +0400, Dmitry Morozovsky wrote: > Коллеги, > > возможно, стоит обратить внимание на > > http://svn.freebsd.org/changeset/base/212650 > > в stable/8 должно появиться через 2-3 недели. Спасибо. Что касается tmpfs, то стоит обратить на сеby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Sep 15, 2010 at 10:22:56AM +0300, maxim ponomarchuk wrote: > есть конфиг nginx > в ем два сервера > > server.ua > (server { > listen 80; > server_name default;) > и server.ru > server { > listen 82; > server_name server.ru *.server.ru; > > так вот. > server.ru отдается нby Igor Sysoev - Nginx Mailing List - Russian
On Tue, Sep 14, 2010 at 09:31:05PM +0400, xinu wrote: > sorry, поспешил с enter. > > вопрос, который собственно и хотел написать: > > как убедить nginx не переводить запрошенный URL в urldecoded? > > моя проблема в пробелах, которые я кодирую в cms "%20&by Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 13, 2010 at 10:19:34PM +0300, Gena Makhomed wrote: > On 13.09.2010 21:53, Igor Sysoev wrote: > > > Please read this: > > http://nginx.org/en/docs/http/server_names.html#miscellaneous_names > > but "server_name _;" directive is no more required > in catch-all server for nignx version 0.8.48 and newer. > > ==================================by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 13, 2010 at 02:47:58PM -0400, Ensiferous wrote: > Hi > > A couple of us in the IRC channel are keeping the wiki updated and we've > come across some inconsistent behaviour with server_name. > > The wiki currently states here: > http://wiki.nginx.org/NginxHttpCoreModule#server_name > that server_name _; is treated specially for requests with no Host > headeby Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 13, 2010 at 01:39:05PM -0400, ez77 wrote: > > In this configuration: > > > > rewrite ^(.*/)index.html http://$host$1 permanent; > > > > location / { > > index index.html; > > } > > > > nginx will not run the server level rewrite, after the internal > redrect, > > so there will not be the loop.In this configuration: >by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 13, 2010 at 08:55:58PM +0400, Franchoze Eric wrote: > Does somebody know if it's possible to specify nginx to get special urls or files from other nginx? I want to bring up nginx on separate port to have possibility to test it without custom modules. location /special_url { proxy_pass http://other-nginx; } -- Igor Sysoev http://sysoev.ru/en/ _______________________________by Igor Sysoev - Nginx Development
On Mon, Sep 13, 2010 at 05:36:56PM +1000, Woon Wai Keen wrote: > Hi, I looked at the 0.8.49 to .50 diff today and came across the > function "ngx_http_set_comlex_value_slot()" , looking at the function > body it looks like it should be spelled "ngx_http_set_complex_value_slot()". Thank you. -- Igor Sysoev http://sysoev.ru/en/ ___________________________________by Igor Sysoev - Nginx Development
On Mon, Sep 13, 2010 at 04:31:01PM +0400, Dmitriy MiksIr wrote: > Что-то в голову пришло, что я до конца в этом не разобрался. > worker_rlimit_nofile - это лимит на воркер... т.е. по сути > он должен быть worker_connections+возможно открытые файлы+все логи? Т.е. > в _теby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|