On Mon, Sep 28, 2009 at 06:15:50PM +0200, Tomasz Pajor wrote: > what seems to be the problem? > > : the size 52428800 of shared memory zone "media" conflicts with > already declared size 0 in /etc/nginx/conf.d/cache.conf:5 > configuration file /etc/nginx/nginx.conf test failed This may be caused if "proxy_cache media" is included before proxy_cache_path. >by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 07:04:27PM +0300, Marcus Clyne wrote: > What about offering an alternative, clearer syntax? e.g.: > > proxy_cache_path /data/nginx/cache1 1:2 ONE 10m; In my opinion proxy_cache_path /data/nginx/cache levels=1:2 keys_zone=ONE:10m inactive=1h max_size=1g; is clearer and more expansible: you just need to add new keywords. Furby Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 06:25:37PM +0300, Marcus Clyne wrote: > Hi, > > Igor Sysoev wrote: > > On Mon, Sep 28, 2009 at 03:28:44PM +0300, Marcus Clyne wrote: > > > > > >> Hi, > >> > >> What's the purpose/benefit of naming shared memory zones in config files? > >> > > > > Its names are used in other directives. Forby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.17 28 Sep 2009 *) Security: now "/../" are disabled in "Destination" request header line. *) Change: now $host variable value is always low case. *) Feature: the $ssl_session_id variable. *) Bugfix: socket leak; the bug had appeared in 0.8.11. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
Изменения в nginx 0.8.17 28.09.2009 *) Безопасность: теперь символы "/../" запрещены в строке "Destination" в заголовке запроса. *) Изменение: теперь значение переменной $host всегда в нижнем регистрby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Sep 28, 2009 at 03:28:44PM +0300, Marcus Clyne wrote: > Hi, > > What's the purpose/benefit of naming shared memory zones in config files? Its names are used in other directives. For example, you may have several proxy_cache's. The second reason is Win32 uses named shared memory mapping. However, it's lamost impossible to use shared memory in Win32 due to Vista ASLR. -- Igorby Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 11:56:25AM +0100, Nuno Magalh??es wrote: > > http://wiki.cacert.org/VhostTaskForce > > http://en.wikipedia.org/wiki/Server_Name_Indication > > Yeah i had read that before and a similar one here [1], but what bugs > me is the browser support for SSLv3/TLS SNI: > * Mozilla Firefox 2.0 or later > * Opera 8.0 or later (the TLS 1.1 protocol mby Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 06:05:39AM -0400, midenok wrote: > Why there is no possibility to use system resolver? Or there is? What do you mean by the system resolver ? -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 11:13:35AM +0100, Nuno Magalh??es wrote: > Hi, > > I know SSL by itself won't work with multiple vhosts on the same > ip/port, but is there anything i can do to circumvert this? http://wiki.cacert.org/VhostTaskForce http://en.wikipedia.org/wiki/Server_Name_Indication -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sun, Sep 27, 2009 at 08:37:50PM +0200, Sen Haerens wrote: > Igor Sysoev wrote: > > The attached patch adds $ssl_session_id variable. > > Dear Igor, > > Thank you for providing this patch. > It's working great with Nginx 0.7.62. ;-) Here is the new more correct patch. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 11:58:21AM +0200, Tomasz Pajor wrote: > You could try something like this. > > geo $need_auth { > default 1; > 192.168.1.0/24 0; > } > > server { > ... > location / { > if ($need_auth) { > <auth> > } > } > } "satisfy any" is better; > > Hi all, > >by Igor Sysoev - Nginx Mailing List - English
On Mon, Sep 28, 2009 at 11:44:38AM +0200, Cedric Jeanneret wrote: > hello, > > ----8<----- > > Is this possible? How to do that? I couldn't figure out how to use > > combination of allow/deny with basic authentication for certain > > location (maybe this is wrong way...). > > Yes, see satisfy_any : > http://wiki.nginx.org/NginxHttpCoreModule#satisfy_anyby Igor Sysoev - Nginx Mailing List - English
On Sun, Sep 27, 2009 at 05:26:05AM -0400, kuisma wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > > No, you just need to set: > > > > listen [::]:80 default ipv6only=on; > > > > because Linux bind()s to both ipv4 and ipv6 by default. > > Oh, how embarrassing, this is basically what you already said aboby Igor Sysoev - Nginx Mailing List - English
On Sun, Sep 27, 2009 at 03:33:15AM -0400, kuisma wrote: > The opposite situation is also true. I tried out IPv6, but my first server definition did only use IPv4, making the later IPv6 enabled server definition fail to bind. > > 2009/09/27 09:12:41 30088#0: bind() to [::]:80 failed (98: Address already in use) > 2009/09/27 09:12:41 30088#0: try again to bind() after 500ms > >by Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 09:36:16AM -0400, filebackup wrote: > Hi, Igor. > > location /download/ { > deny all; > } > This rule would deny access to all files, but I only want to deny access to 'config' file. Can modify this rule only deny 'config' file? > > > Order deny,allow > Deny from all This is was not obvious from your first message: location = /download/cby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 02:02:19PM +0400, Igor Sysoev wrote: > On Fri, Sep 25, 2009 at 01:03:14PM +0400, Igor Sysoev wrote: > > > On Thu, Sep 24, 2009 at 07:50:29PM +0400, jchannelx wrote: > > > > > > *) Исправление: ошибки при использовании post_action; ошибка появилась > > > > в 0.8.11. > &gby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Sep 25, 2009 at 01:03:14PM +0400, Igor Sysoev wrote: > On Thu, Sep 24, 2009 at 07:50:29PM +0400, jchannelx wrote: > > > > *) Исправление: ошибки при использовании post_action; ошибка появилась > > > в 0.8.11. > > > Спасибо Игорю Артемьеву. > > > > > > &by Igor Sysoev - Nginx Mailing List - Russian
On Fri, Sep 25, 2009 at 01:18:57PM +0400, Slava Kokorin wrote: > Есть только один способ - пропатчить исходник и пересобрать nginx. > > Можно попробовать ещё пропатчить бинарник, затерев циферки, если сможете. server_tokens off; > 25 сентября 2009 г. 12:26 полby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Sep 25, 2009 at 05:19:13AM -0400, bernard.barbosa wrote: > Sorry I am getting an error: > > "unknown directive "proxy_cache_path" in /usr/local/nginx/conf/nginx.conf:57 > 2009/09/25 20:09:51 11656#0: the configuration file /usr/local/nginx/conf/nginx.conf test failed" > > I am using nginx version: 0.6.35 . Can you please help me? The HTTP cache haby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 05:12:30AM -0400, bernard.barbosa wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Fri, Sep 25, 2009 at 02:30:32AM -0400, > > bernard.barbosa wrote: > > > > > Hi Igor, > > > > > > Im sorry im a bit lost with the question and i > > have no idea which is the best. Is it byby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 01:01:15PM +0400, Володя К. wrote: > ................................. > location ^~ dir { > root /home/www/domains/htdocs ; > deny all > } > > location ^~ /them/ { > root /home/www/domains/htdocs ; > } > ................................ > > http://domain.com/them/some/dir/fileby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Sep 24, 2009 at 07:50:29PM +0400, jchannelx wrote: > > *) Исправление: ошибки при использовании post_action; ошибка появилась > > в 0.8.11. > > Спасибо Игорю Артемьеву. > > > > ок, обновился, writes всё равно растет. Откачусь на 0.8.7 поby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Sep 25, 2009 at 04:49:33AM -0400, fuji246 wrote: > Well, we divide file into blocks, each block is 4M, and files are divided into blocks before storing them in backend storage. > > The metadata here including the filename, filesize, and sha256 hash of the blocks. > > Our service need to assemble the blocks on the fly and pipelining them to the client. > > Seems subby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 02:30:32AM -0400, bernard.barbosa wrote: > Hi Igor, > > Im sorry im a bit lost with the question and i have no idea which is the best. Is it by proxying or caching? I think yes they can change in the future.. > > My setup should be something like this: > > sample.server.com serve as the main or official site that users will access and the static fby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 02:35:37AM -0400, fuji246 wrote: > I need to write a nginx module to enhance the performance of our service.The following is what our service doing, > > 1. When getting the http request from the client, our service send http request to another server to validate the identification of the client. > > 2. If the validation passed, then send http reqby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 10:10:45AM +0400, Igor Sysoev wrote: > On Fri, Sep 25, 2009 at 09:37:37AM +0400, Igor Sysoev wrote: > > > On Thu, Sep 24, 2009 at 10:34:38PM +0200, Alejandro Mart??nez wrote: > > > > > > pwrite() on file system should write all data at once (at least I see it > > > > for the first time). What file system do you use ? > > &gby Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 01:26:43AM +0100, Nuno Magalh??es wrote: > On Fri, Sep 25, 2009 at 00:21, Rob Schultz <rschultz7@gmail.com> wrote: > [...] > > >> location ~ \.php$ { > >> fastcgi_pass 127.0.0.1:9000; > >> fastcgi_index index.php; > >> include /etc/nginx/by Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 10:03:15AM +0800, Ray wrote: > You use the deny directive > http://wiki.nginx.org/NginxHttpAccessModule#deny > > location / { - location / { + location /download/ { > deny all; > } > > > Ray > > On Fri, Sep 25, 2009 at 9:48 AM, filebackup <nginx-forum@nginx.us> wrote: > > > Hi. > > I want to create an nginx rule,by Igor Sysoev - Nginx Mailing List - English
On Fri, Sep 25, 2009 at 09:37:37AM +0400, Igor Sysoev wrote: > On Thu, Sep 24, 2009 at 10:34:38PM +0200, Alejandro Mart??nez wrote: > > > > pwrite() on file system should write all data at once (at least I see it > > > for the first time). What file system do you use ? > > > > > > Return Value > > value pwrite() was successful. The value returnby Igor Sysoev - Nginx Mailing List - English
On Thu, Sep 24, 2009 at 10:34:38PM +0200, Alejandro Mart??nez wrote: > > pwrite() on file system should write all data at once (at least I see it > > for the first time). What file system do you use ? > > > Return Value > value pwrite() was successful. The value returned is the number of > bytes actually written. This number is less than or equal to nbyte. > -1by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|