On Feb 15, 2013, at 9:48 , Darren Pilgrim wrote: > On 2013-02-14 14:05, etrader wrote: >> I want to rewrite subdomains by adding a separate server for subdomains as > [...] > > keyword.domain.com/query=some to > > domain.com/script.php?query=some&sub=keyword > > server { > server_name *.domain.com; > > if ($http_host ~* (.+)\.domain.com$) { > sby Igor Sysoev - Nginx Mailing List - English
On Feb 13, 2013, at 17:01 , dereck wrote: > Здравствуйте. > Прошу помочь в проблеме. > Пытаюсь сделать балансировку через модуль http_upstream_module. > Запущены 2 tomcat. Поднят nginx 1.3.12. > Томкаты работают на разных портах, а nginx на своём порте. >by Igor Sysoev - Nginx Mailing List - Russian
On Feb 13, 2013, at 9:06 , ivan babrou wrote: > On 13 February 2013 08:57, Igor Sysoev <igor@sysoev.ru> wrote: > On Feb 13, 2013, at 8:49 , ivan babrou wrote: > >> On 12 February 2013 23:06, Igor Sysoev <igor@sysoev.ru> wrote: >> On Feb 12, 2013, at 21:10 , ivan babrou wrote: >> >> > Hi, I have a question. It's better to describe with example >by Igor Sysoev - Nginx Development
On Feb 13, 2013, at 8:49 , ivan babrou wrote: > On 12 February 2013 23:06, Igor Sysoev <igor@sysoev.ru> wrote: > On Feb 12, 2013, at 21:10 , ivan babrou wrote: > > > Hi, I have a question. It's better to describe with example > > > > I point one.local and two.local to 127.0.0.1 and create following servers in config for nginx: > > > > server { > &gby Igor Sysoev - Nginx Development
On Feb 12, 2013, at 23:14 , Ruslan Ermilov wrote: > On Tue, Feb 12, 2013 at 09:10:17PM +0400, ivan babrou wrote: >> Hi, I have a question. It's better to describe with example >> I point one.local and two.local to 127.0.0.1 and create following servers >> in config for nginx: >> server { >> listen 80; >> server_name one.local; >> loby Igor Sysoev - Nginx Development
On Feb 12, 2013, at 21:10 , ivan babrou wrote: > Hi, I have a question. It's better to describe with example > > I point one.local and two.local to 127.0.0.1 and create following servers in config for nginx: > > server { > listen 80; > server_name one.local; > > location / { > return 404; > } > } > > server { > listen two.local:80; &gby Igor Sysoev - Nginx Development
On Feb 12, 2013, at 19:38 , YongFeng Wu wrote: > > Hi, > > http core module has a directive “open_file_cache_events”, but it is not listed in the official documentation anywhere. > > I’m just wondering why. Becaase it's broken: there is now a race condition in nginx between closing file and kqueue event. -- Igor Sysoev http://nginx.com/support.html _______________by Igor Sysoev - Nginx Development
On Feb 5, 2013, at 17:45 , AJ Weber wrote: > I see older pages referencing the ability to use geoip_org (I assume if you purchase MaxMind's Organization DB), but the latest documentation that I looked at only specifies country/city directives. > > Can anyone confirm whether the recent versions of Ngnix (like 1.3.9 and later) still allow the organization directives when the geoip moduleby Igor Sysoev - Nginx Mailing List - English
On Jan 30, 2013, at 8:04 , Твердиков Александр wrote: > Добрый день! > Настроил webdav согласно документации, как можно ограничить доступ по паролю? > > Конфиг: > server { > listen x.x.x.x:80; > server_name webdav.name.ru; > > access_log /var/log/nginx/webdav.name.ruby Igor Sysoev - Nginx Mailing List - Russian
On Jan 24, 2013, at 17:44 , Bob S. wrote: > Is there a size limit for nginx.conf? There is no predefined size limit. -- Igor Sysoev http://nginx.com/support.html _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
On Jan 23, 2013, at 21:40 , Aliaksandr Valialkin wrote: > On Wed, Jan 23, 2013 at 2:00 PM, Igor Sysoev <igor@sysoev.ru> wrote: > > - unlike nginx's file-based cache, stores all cached data in two files - one file is used for index, while the other file is used for cached data. These files aren't vulnerable to fragmentation, since their sizes never change after the application startby Igor Sysoev - Nginx Development
On Jan 22, 2013, at 20:15 , Aliaksandr Valialkin wrote: > - unlike nginx's file-based cache, stores all cached data in two files - one file is used for index, while the other file is used for cached data. These files aren't vulnerable to fragmentation, since their sizes never change after the application start. Well it eliminates the cache file fragmentation on file system, but how do you eliby Igor Sysoev - Nginx Development
On Jan 23, 2013, at 2:15 , middleforkgis wrote: > I'm having a difficult time understanding why I'm unable to limit the IP > address to which nginx binds. > > nginx 1.2.6-1 > Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux > > > ================ > root@skokomish:/etc/nginx# netstat -pant |grep nginx > tcp 0 0 0.0.0.by Igor Sysoev - Nginx Mailing List - English
On Jan 3, 2013, at 22:42 , Юрий Гончаров wrote: > Здравствуйте > Подскажите пожалуйста как решить задачу. > Есть папка проекта /admin/ > Необходимо разрешить доступ в /admin/ только с X.X.X.X но если URL содержит GET параметр login, например http://by Igor Sysoev - Nginx Mailing List - Russian
On Jan 2, 2013, at 23:58 , OZzzy wrote: > Нужна catalina > > в конфиге : > <Connector address="127.0.0.1" port="8080" maxHttpHeaderSize="8192" > maxThreads="100" minSpareThreads="5" maxSpareThreads="10" > enableLookups="false" redirectPort="443" acceptCouby Igor Sysoev - Nginx Mailing List - Russian
On Jan 2, 2013, at 19:20 , OZzzy wrote: > Игорь Владимирович! > Спасибо, что ответили. > Но ни один вариант вашего совета не дал результата. > в броузере при наборе адреса: > No input file specified. > > Скорее всего я в своем недопониманииby Igor Sysoev - Nginx Mailing List - Russian
On Jan 2, 2013, at 12:25 , Tom Barrett wrote: > Is it possible to have each server{} block write to it's own cache directory? Or otherwise identify cached pages by server{} block? > > The aim is to make it easy to clear all cached pages for a specific site on a box hosting multiple sites. proxy_cache_path /path/to/cache/server1 keys_zone=SERVER1:10m; server { server_name server1by Igor Sysoev - Nginx Mailing List - English
On Dec 31, 2012, at 23:31 , OZzzy wrote: > Конфигурация вэб сервера: > Nginx, PHP5 и MySQL на Debian Squeeze с использованием spawn-fcgi > > Появилась необходимость вот в такой конфигурации: > Основной сайт - слушается на 80 порту > На порт 35000 мне нужнby Igor Sysoev - Nginx Mailing List - Russian
On Dec 26, 2012, at 20:40 , kalpesh.patel@glgroup.com wrote: > Igor: > > I had tried that before but now I tried with following two which still > errors out with same exact place and error: > > > env PERL5LIB=/usr/local/lib/perl/5.12.4/:/usr/lib/perl/5.12.4/; > env LD_LIBRARY_PATH=/usr/lib/perl/5.12.4/auto/Crypt/OpenSSL/RSA/; Sorry, I did not look your first message wiby Igor Sysoev - Nginx Mailing List - English
On Dec 26, 2012, at 19:58 , kalpesh.patel@glgroup.com wrote: > I am suspecting following to be issue some how. I've tried specifying it via > $LD_LIBRARY_PATH, $LD_PRELOAD and /etc/ld.so.preload but no love. > > > root@master-01:/home/theApp/theEnDec/conf# find / -name RSA.so > /usr/local/lib/perl/5.12.4/auto/Crypt/OpenSSL/RSA/RSA.so > /usr/lib/perl/5.12.4/auto/Crypt/OpenSSby Igor Sysoev - Nginx Mailing List - English
On Dec 26, 2012, at 19:54 , Lorenzo Raffio wrote: > msie_padding is set to on by default (and I didn't change it). Today I added this line to my location php block: > if ($http_user_agent ~ "MSIE 6" ) { > return 403 "Browser not supported. Please update or change to another one."; > } > > So now it is: > location ~ \.php$ { > try_fileby Igor Sysoev - Nginx Mailing List - English
On Dec 26, 2012, at 19:34 , vadox wrote: > 1.Пример: > до редиректа: http://sitename.ru/politics/106103.html или > http://sitename.ru/society/106103.html > после: http://sitename.ru/news/106103.html > > при этом со страниц http://sitename.ru/politics/ и > http://sitename.ru/society/ редирект делать не нужно, тby Igor Sysoev - Nginx Mailing List - Russian
On Dec 26, 2012, at 17:49 , Gena Makhomed wrote: > Здравствуйте! > > тестирование конфигурации завершается с сообщением про ошибку: > > # nginx -t > nginx: the configuration file /etc/nginx/nginx.conf syntax is ok > nginx: listen() to 11.22.33.44:80, backlog 1024 failed (98: Address already in use) > ngiby Igor Sysoev - Nginx Mailing List - Russian
On Nov 27, 2012, at 1:50 , hristoc wrote: > Hello, > any one can tell me what is wrong on my nginx 1.2.5 version compied with > ipv6 suppot ? I try to start nginx on both ipv4 and ipv6. I read on internet > if I put in my config file: listen [::]:80; is enought and nginx will bind > on both ipv4 and ipv6 interfaces or even if I compile nginx with ipv6 > support is enought and onby Igor Sysoev - Nginx Mailing List - English
On Dec 19, 2012, at 11:52 , howard chen wrote: > > Hi, > > On ubuntu, I tried > > su - www-data > ulimit -Hn > >> 200000 > ulimit -Sn > >> 100000 > > The value seems be fine as I have worker_connections = 4000, and worker_processes = 4, so total is 16000, and still within the limit. > > But when my server become busy, I can find the errorby Igor Sysoev - Nginx Mailing List - English
On Dec 18, 2012, at 16:28 , Maxim Dounin wrote: > Hello! > > On Tue, Dec 18, 2012 at 04:06:08PM +0400, Igor Sysoev wrote: > >> On Dec 18, 2012, at 15:33 , Андрей Василишин wrote: >> >>> 18.12.2012 7:14, Igor Sysoev пишет: >>>> On Dec 17, 2012, at 22:14 , Андрей Василишин wrote: >>>> >>>>>by Igor Sysoev - Nginx Mailing List - Russian
On Dec 18, 2012, at 22:23 , VovansystemS wrote: >>>>>>> В каких случаях надо делать рестарт нгинкс, а в каких хватит релоада (kill -S HUP)? >>>>>> >>>>>> reload'а хватает во всех случаях. А там, где его хватает, лучше делать >>>by Igor Sysoev - Nginx Mailing List - Russian
On Dec 18, 2012, at 21:47 , Azarov Alexander wrote: > > On 18.12.2012, at 16:06, Igor Sysoev <igor@sysoev.ru> wrote: > >> On Dec 18, 2012, at 15:33 , Андрей Василишин wrote: >> >>> 18.12.2012 7:14, Igor Sysoev пишет: >>>> On Dec 17, 2012, at 22:14 , Андрей Василишин wrote: >>>> >>>>>by Igor Sysoev - Nginx Mailing List - Russian
On Dec 18, 2012, at 15:33 , Андрей Василишин wrote: > 18.12.2012 7:14, Igor Sysoev пишет: >> On Dec 17, 2012, at 22:14 , Андрей Василишин wrote: >> >>> В каких случаях надо делать рестарт нгинкс, а в каких хватит релоада (kill -S HUP)? >> >> reload'а хватает вby Igor Sysoev - Nginx Mailing List - Russian
On Dec 17, 2012, at 22:14 , Андрей Василишин wrote: > В каких случаях надо делать рестарт нгинкс, а в каких хватит релоада (kill -S HUP)? reload'а хватает во всех случаях. А там, где его хватает, лучше делать online upgrade, а не stop/start. > Знаю точнby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|