On Thu, Oct 21, 2010 at 11:54:38AM +0400, Vladimir Rusinov wrote: > На одном из серверов периодически появляется проблема - иногда на запросы > (как к статике, так и к динамике) он отвечает HTTP/0.9 200 OK и пустым > телом. > > Вот пример, пойманый одниby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Oct 20, 2010 at 09:48:14PM +0400, Maxim Dounin wrote: > Hello! > > On Wed, Oct 20, 2010 at 09:40:11PM +0400, Igor Sysoev wrote: > > > On Wed, Oct 20, 2010 at 09:35:20PM +0400, Maxim Dounin wrote: > > > > > Hello! > > > > > > On Wed, Oct 20, 2010 at 07:03:37PM +0200, Witold Filipczyk wrote: > > > > > > > On Wed, Oby Igor Sysoev - Nginx Development
On Wed, Oct 20, 2010 at 09:35:20PM +0400, Maxim Dounin wrote: > Hello! > > On Wed, Oct 20, 2010 at 07:03:37PM +0200, Witold Filipczyk wrote: > > > On Wed, Oct 20, 2010 at 08:25:42PM +0400, Maxim Dounin wrote: > > > Hello! > > > > > > On Wed, Oct 20, 2010 at 05:58:09PM +0200, witekfl@gazeta.pl wrote: > > > > > > > On Wed, Oct 20by Igor Sysoev - Nginx Development
On Wed, Oct 20, 2010 at 07:26:00PM +0200, Witold Filipczyk wrote: > > With this configuration > > > > error_page 404 /404.html; > > locaiton = /404.html { > > root /path/to/page; > > } > > > > you will get 404 code with /404.html body for this request: > > http://blabla1.com/non-existant.html > > > > and 200 code with /by Igor Sysoev - Nginx Development
On Wed, Oct 20, 2010 at 05:58:09PM +0200, witekfl@gazeta.pl wrote: > On Wed, Oct 20, 2010 at 07:21:19PM +0400, Igor Sysoev wrote: > > On Wed, Oct 20, 2010 at 05:10:59PM +0200, witekfl Gazeta.pl wrote: > > > > > Hi, > > > probably better place for these questions would be nginx-users, but I ask > > > here. > > > I want to serve static pages as erby Igor Sysoev - Nginx Development
On Wed, Oct 20, 2010 at 05:10:59PM +0200, witekfl Gazeta.pl wrote: > Hi, > probably better place for these questions would be nginx-users, but I ask > here. > I want to serve static pages as error codes but without changing the error > code. > > Now if: > error_page 404 http://blablabla.com/404.html > There is 302 and next 200 OK > I want 404. > > error_pageby Igor Sysoev - Nginx Development
On Wed, Oct 20, 2010 at 09:09:48AM -0400, danjac wrote: > I've double-checked the IP addresses, they are all resolving correctly > to this host. They must be configured on this host, not only be resolved. Are you able to ping them ? -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/ngby Igor Sysoev - Nginx Mailing List - English
On Wed, Oct 20, 2010 at 08:32:30AM -0400, danjac wrote: > > You see certificate for firstdomain.com for all > > addresse - IP2 and IP3 ? > > I'm not sure I quite understand. Each IP address is set for each domain > and has its own certificate. Yes, but currently do you see only certificate of firstdomain.com for all requests ? > > And the previous error "Cannotby Igor Sysoev - Nginx Mailing List - English
On Wed, Oct 20, 2010 at 07:15:05AM -0400, danjac wrote: > This solution works (i.e. I can restart nginx) but it doesn't recognize > the correct domain - certificate for firstdomain.com is correct, but > when I go to the seconddomain.com I get the SSL error "this site was > configured for firstdomain.com" in my browser. You see certificate for firstdomain.com for all addressby Igor Sysoev - Nginx Mailing List - English
On Wed, Oct 20, 2010 at 06:22:59AM -0400, danjac wrote: > The IP is configured for this address, yes. Then something wrong in this configuration. This is not nginx issue. You can workaround it by binding only to *:443 and letting nginx to learn address at run-time: server { listen *:443; listen IP1:443; } server { listen IP2:443; } server {by Igor Sysoev - Nginx Mailing List - English
On Wed, Oct 20, 2010 at 06:00:38AM -0400, danjac wrote: > I have an nginx (v0.7.64) configuration that requires a number of > virtual hosts each with their own SSL. > > I have assigned different IP addresses to each vhost. All IP addresses > are available on port 443 (i.e. they are not blocked by firewall). All > certificates are from Thawte. > > When I test nginx confiby Igor Sysoev - Nginx Mailing List - English
On Tue, Oct 19, 2010 at 04:00:59PM +0200, Sen Haerens wrote: > Igor Sysoev wrote in post #955427: > > https://bugs.webkit.org/show_bug.cgi?id=5760 > > I understand but why is Keep-Alive not only disabled for POST requests > then? POST may go on keep-alive connection after GET. -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx mailingby Igor Sysoev - Nginx Mailing List - English
On Tue, Oct 19, 2010 at 03:40:49PM +0200, Sen Haerens wrote: > It did some further testing and Safari with User-Agent Firefox is > working correctly. Only difference I could notice is that in this case > Keep-Alive connections are enabled. > > As a final solution I removed the else condition in > /src/http/ngx_http_core_module.c (line 806) that disables keep-alive > connby Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 18, 2010 at 11:29:46AM -0400, hakutoitoi wrote: > Igor, > Thank you for your advice. > > I wanted to use kqueue and have configured using kqueue settings. > /usr/local/conf/nginx/nginx.conf > > events { > worker_connections 1024; > use kqueue; > multi_accept off; > } > > > error log outputs using kqueue event method. > /usby Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 18, 2010 at 12:04:57PM -0400, DarkPepe wrote: > Ok, I added that to the vhost config but it gives me an error: > > nginx -t > 2010/10/18 13:03:08 10500#0: unknown "server_address" variable > 2010/10/18 13:03:08 10500#0: the configuration file > /etc/nginx/nginx.conf test failed > Sorry, $server_addr. -- Igor Sysoev http://sysoev.ru/en/ _________by Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 18, 2010 at 05:57:50PM +0300, Oleksandr V. Typlyns'kyi wrote: > Today Oct 18, 2010 at 16:57 Igor Sysoev wrote: > > > On Mon, Oct 18, 2010 at 08:38:51AM -0400, zuborg wrote: > > > > > Патчи > > > http://nginx.org/pipermail/nginx-devel/2010-October/000498.html не > > > пробовал > > > Компилю 0.8.53 > > &by Igor Sysoev - Nginx Mailing List - Russian
On Mon, Oct 18, 2010 at 10:37:08AM -0400, zuborg wrote: > > Вообще, по-нормальному должно быть в > районе нуля. То есть, переодически > пропадать вообще. > Ну, это смотря какая загрузка. На > большинстве серверов с трафом 1-2Гбит я > смотрюby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Oct 18, 2010 at 10:20:36AM -0400, zuborg wrote: > 0.8.53 чистый не помог, а вот вместе с теми > двумя патчами вроде уже все ок: > > # netstat -an | grep CLOSED | wc -l > 32 > > и не растет Вообще, по-нормальному должно быть в районе нуля. То есть, пеby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Oct 18, 2010 at 08:38:51AM -0400, zuborg wrote: > Патчи > http://nginx.org/pipermail/nginx-devel/2010-October/000498.html не > пробовал > Компилю 0.8.53 > limit_rate используется Тогда 0.8.53 плюс патчи из http://nginx.org/pipermail/nginx-devel/2010-October/000500.html http://nginx.org/pipermail/nginx-devel/2010-October/000by Igor Sysoev - Nginx Mailing List - Russian
On Mon, Oct 18, 2010 at 08:03:06AM -0400, zuborg wrote: > Пока не знаю, где проблема - или в FreeBSD 8.1 > или в nginx > > После длительной работы получаем такую > ситуацию: > > # uname -rm > 8.1-RELEASE amd64 > # fstat | grep nginx | wc -l > 74981 > # fstat | grep nginx | grep internet |by Igor Sysoev - Nginx Mailing List - Russian
Changes with nginx 0.8.53 18 Oct 2010 *) Feature: now the "error_page" directive allows to change a status code in a redirect. *) Feature: the "gzip_disable" directive supports special "degradation" mask. *) Bugfix: a socket leak might occurred if file AIO was used. Thanks to Maxim Dounin.by Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.8.53 18 Oct 2010 *) Feature: now the "error_page" directive allows to change a status code in a redirect. *) Feature: the "gzip_disable" directive supports special "degradation" mask. *) Bugfix: a socket leak might occurred if file AIO was used. Thanks to Maxim Dounin.by Igor Sysoev - Nginx Announcements - English
Изменения в nginx 0.8.53 18.10.2010 *) Добавление: теперь директива error_page позволяет менять код статуса у редиректа. *) Добавление: директива gzip_disable поддерживает специальную маску degradation. *) Исby Igor Sysoev - Nginx Mailing List - Russian
Изменения в nginx 0.8.53 18.10.2010 *) Добавление: теперь директива error_page позволяет менять код статуса у редиректа. *) Добавление: директива gzip_disable поддерживает специальную маску degradation. *) Исby Igor Sysoev - Nginx Announcements - Russian
On Mon, Oct 18, 2010 at 03:32:14AM -0400, DarkPepe wrote: > Yes, I tryed that, but when using the external IP a weird error ocurrs. > > It's kind of difficult to explain, but the website shows some random > content from any of the scripts hosted in that particular virtualhost > instead of showing the appropiate info. > > Also other websites using different ips get mixed upby Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 18, 2010 at 03:54:12AM -0400, hakutoitoi wrote: > Hi, > > I'm using nginx/0.7.67 on the freebsd-6.4 > $ nginx -V > nginx version: nginx/0.7.67 > built by gcc 2.95.3 20010315 (release) > configure arguments: --prefix=/usr/local > --conf-path=/usr/local/conf/nginx/nginx.conf > --pid-path=/usr/local/var/run/nginx.pid > --lock-path=/usr/local/var/run/nginx.lby Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 18, 2010 at 03:16:00AM -0400, DarkPepe wrote: > Hi Igor, > > Any clue on how to solve this? You may try this: upstream apache { server EXTERNAL_IP:8888; } -- 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 Sun, Oct 17, 2010 at 04:12:06PM -0400, DarkPepe wrote: > server { > > server_tokens off; > listen EXTERNAL_IP_3:80; > > server_name example.com www.example.com; > > location ~ \.(flv|css|js|ico|jpg|png|gif|swf|torrent)$ { > root /home/example/public_html/; > break; > } BTE, this "break" is just waste of CPU cycleby Igor Sysoev - Nginx Mailing List - English
On Sun, Oct 17, 2010 at 06:09:07PM -0400, Jim Ohlstein wrote: > On 10/17/10 4:59 PM, DarkPepe wrote: > > yes ... it's installed, but that doesnt fiix the server address :( > > It's possibly how mod_rpaf is configured in your apache.conf file. > > Make certain that mod_rpaf is loaded and use something like this (mostly > from page previously linked): > > LoadModulby Igor Sysoev - Nginx Mailing List - English
On Sun, Oct 17, 2010 at 11:59:54PM -0400, Ilan Berkner wrote: > I think I applied the patch correctly, ran patch < patchfilename inside the > src/http directory and looks like the files were patched. I then modified > the config file to have: > > error_page = 301 http://www.myprimarydomain.com$request_uri; error_page 403 =301 http://www.myprimarydomain.com$request_uri; >by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|