On Nov 17, 2012, at 0:58 , Joe Shaw wrote: > Hi, > > I have a web app that accepts uploads from clients. We have a relatively high client_max_body_size set, and I'd like for clients to be able to be quickly rejected if they intend to upload files larger than the max body size. The "Expect: 100-continue" header seems ideally suited for this. > > However, when I try toby Igor Sysoev - Nginx Mailing List - English
On Tue, Nov 13, 2012 at 10:22:53AM +0100, Nilshar wrote: > On 13 November 2012 10:01, Igor Sysoev <igor@sysoev.ru> wrote: > > > On Nov 13, 2012, at 12:41 , Nilshar wrote: > > > > On 13 November 2012 09:38, Igor Sysoev <igor@sysoev.ru> wrote: > > > >> On Nov 13, 2012, at 12:32 , Nilshar wrote: > >> > >> Hello list, > >>by Igor Sysoev - Nginx Mailing List - English
On Nov 13, 2012, at 12:41 , Nilshar wrote: > On 13 November 2012 09:38, Igor Sysoev <igor@sysoev.ru> wrote: > On Nov 13, 2012, at 12:32 , Nilshar wrote: > >> Hello list, >> >> I got an issue with a filename containing "strange" characters. >> It seems that nginx is not able to url_decode correctly, and then get the right file. >> >>by Igor Sysoev - Nginx Mailing List - English
On Nov 13, 2012, at 12:32 , Nilshar wrote: > Hello list, > > I got an issue with a filename containing "strange" characters. > It seems that nginx is not able to url_decode correctly, and then get the right file. > > Yes, the filename is ugly : "Capture d’écran 2010-09-25 à 08.30.07.png" > but apache is able to read it, and nginx is not : > >by Igor Sysoev - Nginx Mailing List - English
On Nov 12, 2012, at 13:19 , justin wrote: > Ahh right, so basically I have to copy: > > valid_referers server_names not-my-domain.com; > if ($invalid_referer) { > return 403; > } > > Into the php match block. Is there a way to do this without having the same > exact code copied into both location blocks? You have to copy only if ($invalid_referer) { return 403; }by Igor Sysoev - Nginx Mailing List - English
On Nov 12, 2012, at 9:59 , zlenko wrote: > Стоит Apache (mod_php) и Nginx. Если прямое подключение к интернету - сайт > отображается нормально, а если в корпоративной сети сети через proxy сервер > (проюовал в двух сетях с разными прокси), то HTML стby Igor Sysoev - Nginx Mailing List - Russian
On Nov 7, 2012, at 13:49 , Isaac Hailperin wrote: > Hi, > > after restarting nginx I find > > 2012/11/07 10:24:02 23635#0: 512 worker_connections are not enough > 2012/11/07 10:24:02 23636#0: 512 worker_connections are not enough > 2012/11/07 10:24:04 23618#0: cache manager process 23635 exited with fatal code 2 and cannot be respawned > > in my logs. It seems likby Igor Sysoev - Nginx Mailing List - English
On Nov 7, 2012, at 16:00 , Валентин Бартенев wrote: > On Wednesday 07 November 2012 14:39:46 egorrrr wrote: >> нужно заменить строку http://example.com на http://example.com/#start >> [...] > > Это невозможно в принципе. > > Адреса http://example.com/ и http://example.com/#start с точки зрениby Igor Sysoev - Nginx Mailing List - Russian
On Nov 7, 2012, at 14:39 , egorrrr wrote: > нужно заменить строку http://example.com на http://example.com/#start > делаю так: > > location / { > root /home/www/example; > index index.html; > rewrite ^ http://www.example.com/#start; #тут должно выбросит на 302-ю > } return 302 "http://www.example.com/#starby Igor Sysoev - Nginx Mailing List - Russian
On Nov 3, 2012, at 9:02 , howard chen wrote: > From the doc: http://wiki.nginx.org/ReadMoreAboutTcpNodelay > > TCP_NODELAY is for a specific purpose; to disable the Nagle buffering algorithm. It should only be set for applications that send frequent small bursts of information without getting an immediate response, where timely delivery of data is required (the canonical example is mousby Igor Sysoev - Nginx Mailing List - English
On Nov 1, 2012, at 3:47 , chiterri@operamail.com wrote: > I'm running nginx/1.3.8 on linux/64. > > I'm installing a commercial cert in nginx (Comodo Essential SSL). > > When I build the SSL chain in order per instructions from Comodo (Root > -> Intermediate(s) > > https://comodosslstore.com/blog/how-do-i-make-my-own-bundle-file-from-crt-files.html > > I do &gby Igor Sysoev - Nginx Mailing List - English
On Oct 30, 2012, at 12:40 , Sergey Kobzar wrote: > Максим > > On 10/30/12 09:44, Maxim Dounin wrote: >> Hello! >> >> On Tue, Oct 30, 2012 at 03:17:24AM -0400, ak84 wrote: >> >>> Максим, добрый день. >>> Сторонние модули пробовал отключать в версии 0.8.54 , ситуация повтоby Igor Sysoev - Nginx Mailing List - Russian
On Oct 26, 2012, at 7:03 , AJ Weber wrote: > One of these requests is sent by my program. One is sent by curl (it's easy to tell which). They are identical as far as I can tell. However, the curl request returns the expected result (204) from my servlet. The program keeps getting this 302 returned with some generic "302 Found" html from nginx. > > My eyes are blurry fromby Igor Sysoev - Nginx Mailing List - English
On Oct 24, 2012, at 15:52 , Tom van der Woerdt wrote: > Yes, that's the URL I am using. Using default_type is possible but it still feels like a bug, especially since the actual file it's serving does end with .js. I know it's possible with a rewrite but that also feels like a hack instead of a real solution, especially since the file I'm serving is outside the website's root folder. This isby Igor Sysoev - Nginx Development
On Oct 24, 2012, at 12:59 , Виталий Сентяков wrote: > Здравствуйте! > > Помогите пожалуйста. > Сейчас на сайте адреса вида: > site.ru/catalog/cat1/subcat1/123.html > site.ru/catalog/cat2/subcat2/123.html > и т.д. (порядка 2 тыс.) > Как их все пере направить на market.siby Igor Sysoev - Nginx Mailing List - Russian
On Sun, Oct 14, 2012 at 11:30:22AM -0700, Quintin Par wrote: > Hi all, > > I set the some params to my backend server as shown below > > set_if_empty $country_code $http_x_country_code; > > proxy_set_header X-Country-Code $country_code; > > Now the http_x_country_code comes via the GeoIP module. > > Is there a way here I can override this based on an HTTPby Igor Sysoev - Nginx Mailing List - English
On Oct 13, 2012, at 13:18 , arun wrote: > I'm running NginX server and sending HTTP requests from cUrl, browser and > python httplib client. > When I try tosend any request through python httplib client, it is getting > bad request response but the same request is succeeded with cUrl and > Browser, > > Error i'm getting is > > MyIP - - [13/Oct/2012:23:17:13 +0530] &quby Igor Sysoev - Nginx Mailing List - English
On Oct 13, 2012, at 3:07 , Евгений Бородин wrote: > здравствуйте. > Правильно ли я понимаю, что вычисление гео клиента будет только в > случае если запрашивается файл .php ? т.е для статических файлов не > будет вычисления Нет, нby Igor Sysoev - Nginx Mailing List - Russian
On Oct 12, 2012, at 19:14 , rahul286 wrote: > Yep. When using values across lines, I noticed overwriting. > > One last question: > > I think using "P" in named capture e.g. "?P<blogpath>" is old style. But > even on nginx 1.2 also some people get error: "pcre_compile() failed: > unrecognized character after". It goes away when they updatby Igor Sysoev - Nginx Mailing List - English
On Oct 12, 2012, at 18:51 , rahul286 wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- >> Digit captures are not supported in map. You have to use named capture. > > Thanks for clarification :-) > > Is map exception or there are other directives also which do not support > Digit captures? > > I ran into issues in if-locationby Igor Sysoev - Nginx Mailing List - English
On Oct 12, 2012, at 18:37 , rahul286 wrote: > Sorry for wrong question. I wanted to ask... > > map "~ ^/~([^/]*)/.*$)" $userhome{ > } > > style regex. Where map input string will be $1. No. "map" is not "location". > === > > Apart from that, inside map: > > map $uri $blogname{ > ~^(?P<blogpath>/[^/]+/)files/(.*by Igor Sysoev - Nginx Mailing List - English
On Oct 12, 2012, at 18:30 , kermit32dll wrote: > Возникла потребность организовать кеш в нгинксе, но при этом иметь > возможность управлять им из кешируемого сайта несколько нестандартным > методом. Управление будет осуществляться пеby Igor Sysoev - Nginx Mailing List - Russian
On Oct 12, 2012, at 18:21 , rahul286 wrote: > I will debug my config again. Thanks. > > By the way, does map support regex in input parameter? Now or in future? Changes with nginx 0.9.6 21 Mar 2011 *) Feature: the "map" directive supports regular expressions as value of the first parameter. http://nginx.org/en/docs/http/ngxby Igor Sysoev - Nginx Mailing List - English
On Oct 12, 2012, at 17:14 , rahul286 wrote: > I am using Nginx 1.2.4 > > So a line like "map $http_host$uri $blogid" is valid one? Yes. This message is issued for internal map parameters. Probably you have space in some first or second paramter. -- Igor Sysoev http://nginx.com/support.html _______________________________________________ nginx mailing list nginx@nginx.orgby Igor Sysoev - Nginx Mailing List - English
On Oct 12, 2012, at 16:26 , rahul286 wrote: > I have a case where I need to use Nginx map in slightly different way. > > I use following to create a variable $blogpath > > > `map $uri $blogname{ > ~^(?P<blogpath>/[_0-9a-zA-Z-]+/)files/(.*) $blogpath ; > }` > > Next, I want to run another map using: > > > `map $http_host$blogpath $bloby Igor Sysoev - Nginx Mailing List - English
On Fri, Oct 12, 2012 at 04:03:42AM -0400, aquarius wrote: > В результате решил проблему так: > > location ~* /admin { > auth_basic "admin location"; > auth_basic_user_file conf.d/htpasswd; > root /path/to/nowhere; > error_page 404 = @redirect; >by Igor Sysoev - Nginx Mailing List - Russian
On Oct 12, 2012, at 10:00 , Vivek Goel wrote: > Hi, > While calling nginx stop we are getting following error: > 25563#0: waitpid() failed (10: No child processes) > > What could be the reason for this problem? > How can we solve this? or Can we ignore this error ? Yes, this error is already logged at "info" level for Solaris and FreeBSD and probably should not bby Igor Sysoev - Nginx Mailing List - English
On Oct 9, 2012, at 17:55 , varsy wrote: > Да, это параллельная проблема, но ее можно обойти, задавая логфайлы не для > каждого хоста, а, например, один логфайл на группу хостов. > > Но это не решает основную проблему - можно ли сделаby Igor Sysoev - Nginx Mailing List - Russian
On Oct 9, 2012, at 12:34 , Ian M. Evans wrote: > On Tue, October 9, 2012 4:26 am, Ian M. Evans wrote: > >> So, though it's now serving the custom 404, it's still serving a cached >> version. So I guess I need a way to turn off caching for the custom 404 >> file. Just tried another one and, of course, got a cached 404 that someone >> else had just tried. > > Tby Igor Sysoev - Nginx Mailing List - English
On Mon, Oct 08, 2012 at 11:51:21PM -0400, Ian M. Evans wrote: > On Mon, October 8, 2012 10:55 pm, Ian M. Evans wrote: > > > > hmm, disabled the fastcgi cache and it served my error file okay. enabled > > the cache and it served the nginx internal 404. > > > > Here's our cache setup: > > > > fastcgi_cache_path /var/lib/nginx/fastcgicache levels=1:2 >by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|