On Wed, May 05, 2010 at 10:36:29AM +0000, glen@lumanau.web.id wrote: > Yes it should be rewrite to > http://www.example.com/site/yahoo/test/article > > Is there any way to do this? location / { proxy_pass http://www.example.com/site/yahoo/; } What error do you see with this configuration ? > -----Original Message----- > From: Igor Sysoev <by Igor Sysoev - Nginx Mailing List - English
On Wed, May 05, 2010 at 12:45:41PM +0300, Serge Negodyuck wrote: > Спасибо! > В догонку, еще вопрос. > > Почему-то в логах время ответа с точностью только до десятой доли секунды: > 0.300 > 0.100 > От чего зависит точность? Как её можно увелить? > &by Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 05, 2010 at 04:50:01PM +0700, Glen Lumanau wrote: > Hi Igor, > > It works already on index. But when i accessing > yahoo.example.com/test/article, it gives me error. Where should it be proxied to ? To http://www.example.com/site/yahoo/test/article ? > When i give proxy_pass http://www.example.com/site/yahoo.com$request_uri, it > giving me bad gateway This is beby Igor Sysoev - Nginx Mailing List - English
On Wed, May 05, 2010 at 12:10:06PM +0300, Serge Negodyuck wrote: > Можно ли как-то в nginx узнать время, за которое бекенд, к которому > обращается через proxy_pass, полностью обработал запрос и отдал его > nginx? http://sysoev.ru/nginx/docs/http/ngx_http_upstream.html#variables -- Игоby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 05, 2010 at 03:22:36PM +0700, Glen Lumanau wrote: > I tried > > server { > listen 80; > server_name yahoo.example.com; > > rewrite ^.+ http://www.example.com/site/yahoo$uri last; > } > > However it's not rewrited. It's being redirected to http://www.example.com/site/yahoo server { server_name yahoo.examplby Igor Sysoev - Nginx Mailing List - English
On Tue, May 04, 2010 at 10:38:20AM +0800, agentzh wrote: > On Tue, May 4, 2010 at 3:11 AM, Igor Sysoev <igor@sysoev.ru> wrote: > > > > You should test u->cleanup before *u->cleanup = NULL. > > This code has appeared in 0.8.33: > > > > Hi, Igor, > > It is *YOU* who didn't test u->cleanup before *u->cleanup in > ngx_http_upstream_createby Igor Sysoev - Nginx Development
On Tue, May 04, 2010 at 11:26:26AM -0400, hg_04 wrote: > как переписать это под nginx? собственно интересует только ajp. При proxy_pass получаю в ответ только 404 Generated by Winstone Servlet Engine v0.9.10. > если на обратиться по прямой ссылке(8102) все работает > > <Virby Igor Sysoev - Nginx Mailing List - Russian
On Mon, May 03, 2010 at 04:00:12AM -0400, zheka79 wrote: > Здравствуйте! > Есть такой rewrite для апача в .htaccess > > RewriteEngine on > RewriteRule !.(gif|bmp|zip|ico|ph|jpg|png|js|css|htm|html|swf|rtf|doc|txt|cgi|xml)$ index.html > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.*)$ index.html &by Igor Sysoev - Nginx Mailing List - Russian
On Sat, May 01, 2010 at 11:45:15AM +0800, agentzh wrote: > Hi, > > I ran into a segfault while debugging one of my modules due to a bug > in the ngx_http_upstream_create function. Here's the quick patch > > diff -udTr nginx-0.8.36/src/http/ngx_http_upstream.c > nginx-0.8.36-patched/src/http/ngx_http_upstream.c > --- nginx-0.8.36/src/http/ngx_http_upstream.c 2010-01-30 &gby Igor Sysoev - Nginx Development
On Fri, Apr 30, 2010 at 01:07:32PM +0200, Grzegorz Nosek wrote: > On Fri, Apr 30, 2010 at 03:02:04PM +0400, Peter Leonov wrote: > > Hi devels, > > > > Wanna store the value of ngx_fd_t in the void * variable (on the SpiderMonkey “private” field). > > Am doing the following trick to avoid the warning “cast to pointer from integer of different size”: > > &by Igor Sysoev - Nginx Development
On Thu, Apr 29, 2010 at 10:06:58AM -0400, Brian Lewis wrote: > On Thursday, 29.04.10 at 17:58, Igor Sysoev wrote: > > BTW, if the patch will resolve the issue, could you please post full > > ./configure ouput ? > > Output of > ./configure --without-http_rewrite_module --without-http-cache > : > > checking for OS > + SCO_SV 3.2 i386 > checking for off_t sby Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 29, 2010 at 05:55:27PM +0400, Igor Sysoev wrote: > On Thu, Apr 29, 2010 at 09:46:00AM -0400, Brian Lewis wrote: > > > On Thursday, 29.04.10 at 10:30, Igor Sysoev wrote: > > > On Wed, Apr 28, 2010 at 04:07:57PM -0400, Brian Lewis wrote: > > > > checking for in_addr_t ... in_addr_t not found uint32_t not found > > > > ./configure: error: canby Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 29, 2010 at 09:46:00AM -0400, Brian Lewis wrote: > On Thursday, 29.04.10 at 10:30, Igor Sysoev wrote: > > On Wed, Apr 28, 2010 at 04:07:57PM -0400, Brian Lewis wrote: > > > checking for in_addr_t ... in_addr_t not found uint32_t not found > > > ./configure: error: can not define in_addr_t > > > > What is in objs/autoconf.err after > > checkby Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 29, 2010 at 11:24:51AM +0200, Marlon de Boer wrote: > Hi list, > > I'm trying to limit the amount of data nginx caches but can't get it to > work properly. > > I'm using the following line to limit the cache: > > proxy_cache_path /var/tmp/nginx/cache levels=1:2 keys_zone=cache:32m > inactive=1440 max_size=32m; > > Is my assumption correct that thisby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 28, 2010 at 04:07:57PM -0400, Brian Lewis wrote: > On Thursday, 29.04.10 at 00:01, Igor Sysoev wrote: > > Sorry, this patch is wrong. Here is a new one. > > Thanks. > > checking for int size ... 4 bytes > checking for long size ... 4 bytes > checking for long long size ... 8 bytes > checking for void * size ... 4 bytes > checking for int64_t ... int6by Igor Sysoev - Nginx Mailing List - English
On Thu, Apr 29, 2010 at 01:08:55AM -0400, wmiadmin wrote: > Зачем тогда существует деректива port_in_redirect ? > или кто кого перекрывает ? > потому как если бы nginx не слал порт то всё бы работало я так понимаю. Порт шлёт не nginx, а бэкенд. proxy_redirect перепby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Apr 29, 2010 at 12:56:57AM -0400, wmiadmin wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > > proxy_pass http://127.0.0.1:8080/; > > proxy_redirect http://domain.com:8080/ /; > > > > > > -- > > Игорь Сысоев > > http://sysoev.ru > > > > ____________________________by Igor Sysoev - Nginx Mailing List - Russian
On Wed, Apr 28, 2010 at 04:33:43PM -0400, wmiadmin wrote: > Debian Lenny > nginx version: nginx/0.7.65 - из исходников. > > > http://domain.com/admin > > GET /admin HTTP/1.1 > Host: domain.com > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 > Accept: text/html,application/xhtml+xml,application/xml;by Igor Sysoev - Nginx Mailing List - Russian
On Wed, Apr 28, 2010 at 11:51:53PM +0400, Igor Sysoev wrote: > On Wed, Apr 28, 2010 at 03:42:45PM -0400, Brian Lewis wrote: > > > On Wednesday, 28.04.10 at 23:18, Igor Sysoev wrote: > > > It seems <sys/bitypes.h> is the right way to use int32_t, etc. on SCO. > > > Could you try the attached patch ? > > > > Thank you for the patch. > > >by Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 28, 2010 at 03:42:45PM -0400, Brian Lewis wrote: > On Wednesday, 28.04.10 at 23:18, Igor Sysoev wrote: > > It seems <sys/bitypes.h> is the right way to use int32_t, etc. on SCO. > > Could you try the attached patch ? > > Thank you for the patch. > > checking for uint64_t ... uint64_t not found u_int64_t not found > ./configure: error: can not defiby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 28, 2010 at 12:29:29PM -0700, Ben DJ wrote: > > I did not understand what that parallel CDN does and what problem you > > have encountered. > > A good description is here, http://drupal.org/project/parallel > > Basically, serving various content types in parallel from Varnish > in-memory caches, in particular when memcache(d) is not an option due > to lby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 27, 2010 at 04:09:36PM -0400, Brian Lewis wrote: > On Tuesday, 27.04.10 at 23:50, Igor Sysoev wrote: > > It seems SCO has int32_t. Then could you show what is after > > "checking for int32_t" in objs/autoconf.err ? > > objs/autotest.c: In function `main': > objs/autotest.c:11: error: `int32_t' undeclared (first use in this function) > objs/autotesby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 28, 2010 at 08:33:03AM -0700, Ben DJ wrote: > > BTW, why do you use varnish instead of nginx built-in proxy cache ? > > I'd originally had Pound in front of varnish; Nginx was a logical > choice to replace it, as a first step. > > As for using it as a proxy cache ... Varnish provides all in-memory > caching. I simply don't know if nginx. nginx uses file caby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 28, 2010 at 07:50:31AM -0400, Dmitry Veselov wrote: > nginx version: nginx/0.7.65 > конфиг по-умолчанию > > # cat sfjd.tst.ssl.conf > server { > listen sjfd.tst:443; > server_name sjfd.tst www.sjfd.tst; > > ssl on; > ssl_certificate /path/to/www.sjfd.tst.crt; > ssl_certificate_key /by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Apr 27, 2010 at 09:12:13PM -0400, BenDJ wrote: > I've an nginx + varnish + apache2 stack. Nginz server as redirector, ssl handshake, and gzip compression. Varnish serves as a reverse-proxy, and apache 'just' hosts apps & serves content. > > I'm trying to get gzip compression behaving properly. I'm getting intermittent results -- some content seems to be gzipped, some not.by Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 27, 2010 at 09:12:13PM -0400, BenDJ wrote: > I've an nginx + varnish + apache2 stack. Nginz server as redirector, ssl handshake, and gzip compression. Varnish serves as a reverse-proxy, and apache 'just' hosts apps & serves content. > > I'm trying to get gzip compression behaving properly. I'm getting intermittent results -- some content seems to be gzipped, some not.by Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 27, 2010 at 03:39:25PM -0400, Brian Lewis wrote: > On Tuesday, 27.04.10 at 22:35, Igor Sysoev wrote: > > Try the attached patch. It should show found replacements and fail on > > uintptr_t. Could you show the new ./configure output from > > > > checking for int size ... 4 bytes > > to > > checking for uintptr_t ... > > > > ? > >by Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 27, 2010 at 01:57:32PM -0400, Brian Lewis wrote: > On Tuesday, 27.04.10 at 21:50, Igor Sysoev wrote: > > On Mon, Apr 26, 2010 at 10:08:59AM -0400, Brian Lewis wrote: > > > A system where I'm trying to build nginx doesn't define a few types > > > it needs like uint64_t, uint32_t, uintptr_t, etc., anywhere in > > > /usr/include. What is the proper wayby Igor Sysoev - Nginx Mailing List - English
On Mon, Apr 26, 2010 at 10:08:59AM -0400, Brian Lewis wrote: > A system where I'm trying to build nginx doesn't define a few types it > needs like uint64_t, uint32_t, uintptr_t, etc., anywhere in > /usr/include. What is the proper way to define these missing types for > nginx's configure? It seems there is no way currently to make it right. What is your system ? -- Igor Sysoev httby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 27, 2010 at 10:55:40AM -0400, Nunkomm wrote: > Здравствуйте, уважаемое сообщество. > Имеется связка nginx 0.8.36 + apache 2.2.x > Домены расположены в папке /wwwuser/, например, > /wwwuser/doman1.ru > /wwwuser/doman2.ru > Некоторые домены имеют host c www. > При поby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|