On Apr 18, 2013, at 13:40 , crazynuxer wrote: > Dear All, > > I have some vhost with nginx , when I set backlog at some vhost, I get error > > nginx: duplicate listen options for 0.0.0.0:80 in > > my question is. When we configure 1 vhost with backlog option , it will be applied to all vhost or not? Yes, it is applied to all vhost listening on the same port. This is proby Igor Sysoev - Nginx Mailing List - English
On Apr 7, 2013, at 0:44 , Jim Ohlstein wrote: > This way there is no competition for what is listening on IPv6 addresses > and you should not see that error. I've been doing it this way for at > least a couple of years now, certainly before 1.0.x series came out. It > may not be the "recommended" approach but it's what I had to do to get > it back then. One caveat - I amby Igor Sysoev - Nginx Mailing List - English
server { listen 80; listen [::]:80 ipv6only=on; server_name one; ... } server { listen 443 ssl; listen [::]:443 ssl ipv6only=on; server_name one; ... } -- Igor Sysoev http://nginx.com/services.html On Apr 6, 2013, at 19:01 , B.R. wrote: > Add-on: > > Besides, as I explained earlier, having generic 'listen' directives implies some difficultieby Igor Sysoev - Nginx Mailing List - English
On Apr 4, 2013, at 12:46 , Дмитрий Шалашов wrote: > Heeey :-) > > Is it safe to enable it? Yes, it is safe. Probably, it should be enabled by default. -- Igor Sysoev > 2013/3/29 Дмитрий Шалашов <skaurus@gmail.com> > Hi. > > Why is this parameter disabled by default? > > Best regards, > Dmitriy Shalashov ______________________by Igor Sysoev - Nginx Mailing List - English
On Mar 31, 2013, at 14:33 , Justin Cormack wrote: > There is a note in src/os/unix/ngx_user.c about a bug in glibc for crypt_r: > > /* work around the glibc bug */ > cd.current_salt[0] = ~salt[0]; > > value = crypt_r((char *) key, (char *) salt, &cd); > > I was wondering if anyone knew what the bug was, as I am running on a platform (Musl libc) that hasby Igor Sysoev - Nginx Mailing List - English
On Mar 31, 2013, at 14:11 , Reinis Rozitis wrote: >> How much the cache's size is larger than the host's physical memory? > > 32Gb ram and 240Gb (fits on a ssd) mapped file (no swapping involved). Did you try previously nginx cache also on SSD or on usual hard disk? -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.ngby Igor Sysoev - Nginx Mailing List - English
On Mar 30, 2013, at 14:17 , Reinis Rozitis wrote: >> BTW, do you use Varnish persistent cache? > > No, just a huge mmaped file .. > Since the instances get restarted very rarely (most have now over a year of uptime) the result is basicaly the same without the persistant storage bad side effects/bugs. How much the cache's size is larger than the host's physical memory? -- Igorby Igor Sysoev - Nginx Mailing List - English
On Mar 28, 2013, at 19:20 , Reinis Rozitis wrote: > Also the cache residing 1:1 on the filesystem makes it problematic in setups where you have a lot of cachable objects. At least in my case the nginx cache manager process took way too much resources/io when traversing the directory tree with few milion files versus storing them all in a single mmaped file. Did you try nginx cache since versiby Igor Sysoev - Nginx Mailing List - English
On Mar 28, 2013, at 17:34 , Aleksandr Sytar wrote: > Я бы резюмировал бы так - дайте возможность вносить многострочные комментарии Наверное, это стоит сделать в виде: disable server { ... } disable location /dir/ { ... } и в более общем виде disable { ... } Болееby Igor Sysoev - Nginx Mailing List - Russian
On Mar 23, 2013, at 14:14 , Larry wrote: > Hi ! > > I was wondering, for the sake of curiosity, how many server blocks (virtual > hosts) nginx can afford ? > > To the extreme : will 1000 server blocks will decrease nginx performances ? No. Unless server_names are regular expressions. -- Igor Sysoev http://nginx.com/services.html ____________________________________________by Igor Sysoev - Nginx Mailing List - English
On Mar 23, 2013, at 2:44 , openletter wrote: > I am setting up a server that will be for a B2B business, and I want the > whole site to be served as https://www.example.com/ > > I have gotten a certificate and https://www.example.com runs just fine, but > I can't figure out how to require https://www.example.com when a user tries > to go to https://example.com. > > In reby Igor Sysoev - Nginx Mailing List - English
On Mar 19, 2013, at 18:41 , Andreas Weber wrote: > Im not expert but i think you must specify /cms BEFORE / because "/" will match everything No. Since "/" and "/cms" are not regex locations, nginx finds the maximum match despite location order. This is why using only non-regex locations allows to create at once large and easy to maintain configurations with a lby Igor Sysoev - Nginx Mailing List - English
On Mar 19, 2013, at 19:42 , WBrown@e1b.org wrote: > Peter Booth wrote on 03/19/2013 10:43:12 AM: > >> The code does the following: >> >> 1. remove an HTTP header named "SWSSLHDR" >> 2. replaces it with SWSSLHDR: port, where the port is the local port of >> the "current context's TCP connection", presumably the port that your F5 >> viby Igor Sysoev - Nginx Mailing List - English
On Mar 20, 2013, at 5:47 , Matthieu Tourne wrote: > I just found an interesting behavior in Nginx while looking at a reqeust that was causing an error in my code. > > For a request with no HTTP/xx version, Nginx will return no HTTP response headers. > > From what I gathered, this is just Nginx defaulting to HTTP/0.9, where no headers are expected. And actually doing the right thiby Igor Sysoev - Nginx Mailing List - English
On Mar 12, 2013, at 14:59 , Oleg wrote: > Здравствуйте. > > Есть следующая конфигурация: > > location /test { > auth_basic "test zone"; > auth_basic_user_file /var/www/test/.htpasswd; > root /var/www; > > rewrite ^/test/?$ /test/user/$remote_useby Igor Sysoev - Nginx Mailing List - Russian
On Mar 12, 2013, at 10:07 , Modigar wrote: > server { > listen 443 ssl; # порт https > server_name localhost; # ваш сайт > > ssl_certificate /usr/local/nginx/sert/cert.pem; > ssl_certificate_key /usr/local/nginx/sert/cert.key; Вот это: > if ( $scheme = "http" ) { > rewrite ^/(.*)$ httby Igor Sysoev - Nginx Mailing List - Russian
On Mar 7, 2013, at 0:08 , Anatoly Mikhailov wrote: > On Mar 6, 2013, at 7:53 PM, Igor Sysoev <igor@sysoev.ru> wrote: > >> On Mar 6, 2013, at 23:35 , Anatoly Mikhailov wrote: >> >>> добрый день, >>> >>> Вопрос балансировки нагрузки не дает мне покоя несколько дней, пока склоby Igor Sysoev - Nginx Mailing List - Russian
On Mar 6, 2013, at 23:35 , Anatoly Mikhailov wrote: > добрый день, > > Вопрос балансировки нагрузки не дает мне покоя несколько дней, пока склоняюсь к использованию > Nginx в роли балансировщика. Таким образом будет каскад Nginx - (Nginx - Unicorn)by Igor Sysoev - Nginx Mailing List - Russian
On Mar 4, 2013, at 19:30 , Meteor wrote: > Hi All, > > I just upgrade freebsd from 8.1 to 9.1. And after that, every time I start Nginx, I'l get below error message: > > 2013/03/04 09:21:27 43757#0: sem_init() failed (78: Function not implemented) > 2013/03/04 09:21:27 43757#0: sem_init() failed (78: Function not implemented) > > This is the only error message I got,by Igor Sysoev - Nginx Mailing List - English
On Mar 2, 2013, at 14:29 , Namaste wrote: > Ясно, спасибо. > Длиннющий же правда конфиг получится.. :) Нужно выбирать - или мы быстро лабаем короткий конфиг из реврайтов, а потом проклинаем их при каждом изменении конфигурации (но перby Igor Sysoev - Nginx Mailing List - Russian
On Mar 2, 2013, at 2:45 , Namaste wrote: > Привет! > > Есть примерно такой вот конфиг: > > location /aaa/ { > rewrite ^/aaa/([0-9]+)\.html$ /test.php?p1=$1 last; > } > > location /bbb/ { > rewrite ^/bbb/([0-9]+)\.html$ /test2.php?p1=$1 last; > } > > location ~ \.php$ { > fastby Igor Sysoev - Nginx Mailing List - Russian
On Mar 2, 2013, at 0:20 , Jonathan Vanasco wrote: > forgive me if this has been asked before -- I couldn't find this exact question in my mailing list archives back to 2007 > > I am trying to deal with wildcard domains in a setup. > > The intended result is to do this : > > Requests for example.com > Serve Site A > > All IP Address Requests : > Serve Sby Igor Sysoev - Nginx Mailing List - English
On Feb 27, 2013, at 22:44 , Namaste wrote: > Привет! > > Интересно, почему if_modified_since по дефолту установлен в exact, а не в > before? По историческим причинам. Долгое время в nginx'е не было поддержки ETag'а и точное совпадение с If-Modified-Since было некby Igor Sysoev - Nginx Mailing List - Russian
On Feb 27, 2013, at 13:56 , traquila wrote: > Hello, > > I have some troubles to configure my reverse proxy cache. > > I would like to use a proxy cache with about 5 TB. > If I estimate an average file size of 128KB, I need to define my zone size > to about 5GB. (5 TB / (128KB / 128)) > > Here the configuration line: > proxy_cache_path /opt/.../hdd_storage/cacheby Igor Sysoev - Nginx Mailing List - English
On Feb 26, 2013, at 13:32 , Aparna Bhat wrote: > I am working on a module for load balancing. I have to make use of the type float. Can anyone please tell me if there is any nginx specific data type for float such as the one that exists for int (ngx_int_t). I would also like to know how to write the float value to the logs. The type %f prints only the integer portion of the float value. Therby Igor Sysoev - Nginx Mailing List - English
On Feb 23, 2013, at 19:12 , Andrey Repin wrote: > Здравствуйте, Уважаемый(-ая, -ое) Maxim Dounin! > > MD> Hello! > > MD> On Sat, Feb 23, 2013 at 01:26:30PM +0200, Станислав wrote: > >>> Подскажите пожалуйста как лучше реализовать запрет на доступ к >>> методуby Igor Sysoev - Nginx Mailing List - Russian
On Feb 23, 2013, at 20:54 , Maxim Dounin wrote: > Hello! > > On Sat, Feb 23, 2013 at 02:30:21PM +0200, Станислав wrote: > >> 23.02.2013 13:35, Maxim Dounin пишет: >>> Hello! >>> >>> On Sat, Feb 23, 2013 at 01:26:30PM +0200, Станислав wrote: >>> >>>> Подскажите пожалуйста как лучby Igor Sysoev - Nginx Mailing List - Russian
On Feb 24, 2013, at 0:32 , alexander_koch_log wrote: > Hi, > > Quoting "http://nginx.org/en/docs/http/ngx_http_core_module.html#aio" > >> (....)Reading of unaligned file’s end is still made in blocking mode. The same holds true for byte range requests, and for FLV requests not from the beginning of a file: reading of unaligned data at the beginning and end of a filby Igor Sysoev - Nginx Development
On Feb 21, 2013, at 21:48 , Ed W wrote: > Hi, I'm trying to setup a php app using fpm (owncloud). > > I am trying to match urls which can all over the filesystem and of the form: something.php/some/path?params > > So far I have something like this: > > > location / { > try_files $uri $uri/ index.php; > } >by Igor Sysoev - Nginx Mailing List - English
On Feb 15, 2013, at 14:00 , Dmitriy Lyalyuev wrote: > Добрый день. > > Есть конфиг типа: > server{ > listen 80 default; > server_name ~^(?:www\.)*(?<HBW>.+)$; > ... > } > > server{ > listen 10.0.3.132:80; > server_name example.com www.example.com; > ... > } > > При обращении на test.example.com попby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|