On Fri, May 27, 2011 at 10:59:41AM -0400, kheraud wrote: > Hello, > > I am breaking my head against the wall since his morning on this issue > maybe you can help me. > > I have a single physical server hosting tomcat WARs and also other > standalone services. I use subdomains and Nginx to route to the > requested service. > Tomcat append to URIs the name of the deployeby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 04:17:24PM +0400, step wrote: > В Птн, 27/05/2011 в 15:52 +0400, Igor Sysoev пишет: > > > В конфиге nginx: > > > > > > location ~ ^/(test_post)\.php$ { > > > fastcgi_pass unix:/var/run/php-fpm.socket; > > > fastcgi_param > > > SCRIPT_FILENAME /www/server/www/$fastcgi_script_name; > &gby Igor Sysoev - Nginx Mailing List - Russian
On Fri, May 27, 2011 at 04:18:30PM +0400, Igor Sysoev wrote: > On Fri, May 27, 2011 at 04:07:47PM +0400, Maxim Dounin wrote: > > > > Index: src/core/ngx_md5.c > > > =================================================================== > > > --- src/core/ngx_md5.c (revision 3927) > > > +++ src/core/ngx_md5.c (working copy) > > > @@ -32,7 +32,7 @@ &gby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 04:07:47PM +0400, Maxim Dounin wrote: > > Index: src/core/ngx_md5.c > > =================================================================== > > --- src/core/ngx_md5.c (revision 3927) > > +++ src/core/ngx_md5.c (working copy) > > @@ -32,7 +32,7 @@ > > > > > > void > > -ngx_md5_update(ngx_md5_t *ctx, const u_char *daby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 03:02:17PM +0300, Pekka.Panula@sofor.fi wrote: > I am looking for info is it possible to compile nginx SSL routines with > TLS 1.1 and 1.2 support? Is openssl only possible backend for nginx? Currently nginx supports only OpenSSL and relies OpenSSL TLS suuport. -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org httpby Igor Sysoev - Nginx Mailing List - English
> В конфиге nginx: > > location ~ ^/(test_post)\.php$ { > fastcgi_pass unix:/var/run/php-fpm.socket; > fastcgi_param > SCRIPT_FILENAME /www/server/www/$fastcgi_script_name; > fastcgi_param BBBBBBB $body_bytes_sent; > include /etc/nginx/fastcgi_params; > } > > location ~ ^/(test)\.php$ { > fastcgi_pass unix:/var/run/by Igor Sysoev - Nginx Mailing List - Russian
On Fri, May 27, 2011 at 11:30:17AM +0200, Dalibor Jotanovic wrote: > Hi, > > i'm having problems compiling the latest stable source 1.0.3. > > How to reproduce: > > cd <sourcedirectory> > ./configure > make > > make output is attached in log.txt > > I do not have any problems compiling stable source 1.0.2 > > Is suspect this issue beeiby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 05:32:11AM -0400, speedfirst wrote: > Thanks. And I want to know the time when "proxy_set_header" is executed, > because the my cookie value is related to the chosen upstream server. So > will proxy_set_header happen before upstream peer initialization or > after that? Before, and this value is used for all upstreams. -- Igor Sysoev ______________by Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 04:28:10AM -0400, pk899 wrote: > thanks igor. wow, so fast reply. > > how can i setup nginx "before apache"? will i have to change apache > port? > > and what will the syntax look like. is there any simple guide? i have a > high traffic site so dont want to break the functionality. You should test nginx setup on 81 port passing request tby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 04:14:49AM -0400, pk899 wrote: > Hi > > sorry for english. > > i am on centos 64 bit server with cpanel and whm. > > i have apache 2.2.18 and there is heavy duty use of the following: > > 1. mod rewrite > 2. mod geoip > 3. mod security (with rules available in 2.6.0 for google safe browsing > checks etc) > 4. mod evasive &gby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 12:17:10AM -0400, Parker, Joshua wrote: > I am trying to use smtp connection for an email marketing software and would like to use smtp or pop3, but I am not sure where to start. I have mailauth.pm in /root/auth/ but I am not sure if that is write. If the previous is correct, is this also correct in nginx.conf: > > mail { auth_http 127.0.0.1:80/auth; pop3_capabiliby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 12:49:30AM -0400, speedfirst wrote: > Hey, I want to add custom cookie when proxy pass to the upstream in my > custom module. I want to implement like what this config does: > > proxy_pass http://servers; > proxy_add_header Cookie "$http_cookie;KEY=VALUE"; > > But sinc the VALUE is dynamically generated so I need to add this cookie > viaby Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 03:26:00AM -0400, stopka wrote: > Стоит nginx 0.8.53 и php-fpm 5.3.6 > Конфиг nginx (Весь кофиг не буду > приводить, приведу отрывок): > > log_format main > '$remote_addr - $remote_user [$time_local] ' > '"$request" $status $bytes_sent --->$body_bytes_sent<--- ' > '"$http_refererby Igor Sysoev - Nginx Mailing List - Russian
On Fri, May 27, 2011 at 12:26:06AM +0400, Дмитрий Дьяченков wrote: > добрый день! > коротко: сталкнулись с проблемой - сайт работает, но поисковым ботам (yandex, google и прочие) выдается ошибка 500 > поискал на сайте, нашел темы, типа > http://www.lexa.ru/by Igor Sysoev - Nginx Mailing List - Russian
On Thu, May 26, 2011 at 04:10:23PM -0400, benseb wrote: > Thanks people > > So there's no way to say "If the file ISNT a jpeg/gif/css/js" deny. The > only way is to say 'if .php' deny, 'if .txt deny' etc? > > I'd prefer to whitelist the files i DO want to return and block > everything else, incase I forget something to block? As it was already suggested: locationby Igor Sysoev - Nginx Mailing List - English
On Sun, May 22, 2011 at 05:48:42PM +0100, Nuno Magalhães wrote: > > location ^~ /applets/{ > > root /home/vhosts/x.com/httpdocs; > > expires max; > > } > > location ^~ /css/{ > > root /home/vhosts/x.com/httpdocs; > > expires max; > >by Igor Sysoev - Nginx Mailing List - English
On Fri, May 27, 2011 at 09:04:24AM +0700, Denis F. Latypoff wrote: > 25.05.2011, 22:24, "Igor Sysoev" <igor@sysoev.ru>: > > Изменения в nginx 1.0.3 25.05.2011 > > > [...] > > А POSIX семафоры в линуске? )) Будет в следующей версby Igor Sysoev - Nginx Mailing List - Russian
On Thu, May 26, 2011 at 09:46:47AM -0400, the_traveller wrote: > the public_html dir is in > /usr/local/www location /Joke/ { fastcgi_pass backend; fastcgi_param SCRIPT_FILENAME /usr/local/www/public_html/jokes.php; fastcgi_param QUERY_STRING $args; inlcude fastcgi_params; } -- Igor Sysoev _______________________________________________ nginx mailing list nginx@ngby Igor Sysoev - Nginx Mailing List - English
On Thu, May 26, 2011 at 02:04:34PM +0300, Alex Vorona wrote: > > http://sysoev.ru/nginx/docs/http/ngx_http_proxy_module.html#proxy_cache_bypass > > Похоже, default: должен быть "нет", также как у proxy_no_cache Спасибо, исправил. -- Igor Sysoev _______________________________________________ nginx-ru mailing list nginx-ru@nginby Igor Sysoev - Nginx Mailing List - Russian
On Thu, May 26, 2011 at 06:36:08AM -0400, Parker, Joshua wrote: > I don't remember installing perl, so the message may be a misdirection. How would I install perl on Ubuntu Lucid? I am not sure what perl package I should be looking for. Last time I tried this on Debian, libper-dev package was required. -- Igor Sysoev _______________________________________________ nginx mailing list nginx@by Igor Sysoev - Nginx Mailing List - English
On Thu, May 26, 2011 at 09:02:26AM +0000, Richard Kearsley wrote: > Sorry, I chose a bad example > I have 3 machines where it's not dumping > The other 2 had the correct permissions already > Should it core dump for signal 11 of a worker? Probably you need to set also: echo 1 > /proc/sys/fs/suid_dumpable > > Worker processes are usually run under non-root, so it's unlikelyby Igor Sysoev - Nginx Mailing List - English
On Thu, May 26, 2011 at 06:22:39AM -0400, Parker, Joshua wrote: > Please see below. > > Note (probably harmless): No library found for -lperl > -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -ldl -lm -lpthread -lc -lcrypt LOL, "probably harmless". libperl is the very library required for linking. It's seems you have broken perl installation. > -- &by Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 11:03:52PM -0400, Parker, Joshua wrote: > I am trying to upgrade to 1.0.2, but I am getting an install error. Any help is greatly appreciated. > -lcrypt -lpcre -lssl -lcrypto -ldl -lz \ > -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -ldl -lm -lpthread -lc -lcrypt > objs/src/http/modules/perl/ngx_http_perl_module.o: In function `ngx_http_pby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 02:30:28PM -0400, the_traveller wrote: > I know i'm alittle bit annoying > > but can you show me how i must write the rule > the path of the script jokes.php is in the public_html dir > and it should talks the args like that > jokes.php?j=$1 Where does this public_html directory reside ? /usr/local/www, /home/user/, or anything else ? -- Igor Sysoevby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 08:39:15PM -0400, wyatt wrote: > Hey Guys, > > I've found a compile error for NGINX 1.0.3 that didn't exist for any of > the previous versions (same configuration, etc.) Here's the > "./configure" arguments I used: > > > ./configure --sbin-path=/usr/local/sbin --with-http_ssl_module > --with-ipv6 --without-mail_pop3_module --without-mby Igor Sysoev - Nginx Mailing List - English
On Thu, May 26, 2011 at 11:36:42AM +0800, Conan wrote: > hi, I'm wring a nginx module which is hooked at > NGX_HTTP_ACCESS_PHASE. Segmentation fault happened when calling > ngx_log_error(NGX_LOG_ERR, r->connection->log, "xxx") in my module's > handler(which will handle every request). I found r->connection->log = 0x0 > when debug with gdb. > > On 64bitby Igor Sysoev - Nginx Development
On Wed, May 25, 2011 at 12:16:48PM -0400, DenisM wrote: > Доброго дня! > > FreeBSD 7.0-RELEASE > nginx-1.0.0 > Как он считает время отклика? От получения запроса до закрытия сокета или передачи последнего байта в ядро (что не означает, что клиенту эти байby Igor Sysoev - Nginx Mailing List - Russian
У меня есть идея, как можно сделать white листы и вообще разные уровни ограничения для limit_req: geo $rate { default 2; # 2r/s 192.168.1.0/24 -; # no limit 192.168.2.0/24 0.1; # bad guys: 0.1r/s } limit_req_zone $binary_remote_addr zone=ONE:10m rate=$rate; Для limit_conn также: geby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 07:25:21PM +0400, Michael wrote: > А фичи в реалтайме смотреть сколько сервер отдал - нет? Нет. -- Igor Sysoev _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://nginx.org/mailman/listinfo/nginx-ruby Igor Sysoev - Nginx Mailing List - Russian
Изменения в nginx 1.0.3 25.05.2011 *) Добавление: директива auth_basic_user_file поддерживает шифрование пароля методами "$apr1", "{PLAIN}" и "{SSHA}". Спасибо Максиму Дунину. *) Добавление: директивby Igor Sysoev - Nginx Mailing List - Russian
![]() |
![]() |
![]() |
![]() |
|