Изменения в nginx 1.0.3 25.05.2011 *) Добавление: директива auth_basic_user_file поддерживает шифрование пароля методами "$apr1", "{PLAIN}" и "{SSHA}". Спасибо Максиму Дунину. *) Добавление: директивby Igor Sysoev - Nginx Announcements - Russian
Changes with nginx 1.0.3 25 May 2011 *) Feature: the "auth_basic_user_file" directive supports "$apr1", "{PLAIN}", and "{SSHA}" password encryption methods. Thanks to Maxim Dounin. *) Feature: the "geoip_org" directive and $geoip_org variable. Thanks to Alexander Uskov, Arnaudby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 1.0.3 25 May 2011 *) Feature: the "auth_basic_user_file" directive supports "$apr1", "{PLAIN}", and "{SSHA}" password encryption methods. Thanks to Maxim Dounin. *) Feature: the "geoip_org" directive and $geoip_org variable. Thanks to Alexander Uskov, Arnaudby Igor Sysoev - Nginx Announcements - English
> I'm trying to explain to you why I can't debug the file, but the forum > says > Possible hack attempt detected. The posted form data was rejected. The forum is a gateway to mailing list: http://nginx.org/mailman/listinfo/nginx You may write there. -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 02:56:07PM +0100, Dick Middleton wrote: > On 05/25/11 12:58, Trazzt wrote: > > I really appreciate your help, but PHP is still not working > > This is how my phpmyadmin configuration file looks like after all your > > edits: > > ________________________ > > server{ > > listen 80; > > server_name phpmyadmin; > >by Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 09:34:57AM -0400, Trazzt wrote: > I tried what you said, but I still get the text file. > > Thanks for all your support, I'm gonna reinstall phpmyadmin completely > using the configuration files you supplied. > > I used this tutorial to install nginx + phpmyadmin, I'll search for > another tut. > http://joneslee85.wordpress.com/2010/02/28/howto-ngiby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 07:43:54AM -0400, chris.percol wrote: > How would I test for the following subdomains? > > www > www4 > any other subdomain > > Then redirect each to a corresponding internal location? > > I am using the following code to get the 'any other subdomain' but can't > get the redirect to a location such as @any_subd working? > > if ($hosby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 09:07:30AM -0400, Trazzt wrote: > I mean I still get the text screen like in the image. I still get no > layout, only the 'index.php' file in text format. > Like in the screenshot: > http://postimage.org/image/2j6o8olyc/ Try to add localhost and 127.0.0.1 to ensure that you request a right server: server{ listen 80; server_name phpmyadmin localhost 127by Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 09:03:04AM -0400, Efrem wrote: > Я хочу в зависимости от того от куда > пришёл клиент с прокси или напрямую на > nginx данные в логи собирать по разному, > потому что если он идёт с прокси > передаются заголовки HTTP_RPROXY_SSLby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 07:58:21AM -0400, Trazzt wrote: > I really appreciate your help, but PHP is still not working What does it means - "PHP is still not working" ? > This is how my phpmyadmin configuration file looks like after all your > edits: > ________________________ > server{ > listen 80; > server_name phpmyadmin; > access_log /var/log/phpmby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 08:00:44AM -0400, Efrem wrote: > А как нибудь можно узнать > инициализирована переменная или нет? (с > помощью условия if) Смотря как. Что именно нужно узнать и для чего ? -- Игорь Сысоев http://sysoev.ru _________________________________________by Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 01:04:44PM +0100, Dick Middleton wrote: > On 05/25/11 12:58, Trazzt wrote: > > I really appreciate your help, but PHP is still not working > > This is how my phpmyadmin configuration file looks like after all your > > edits: > > > location ~ ^/phpmyadmin/.+\.php$ { > > fastcgi_pass 127.0.0.1:9000; > > fastcgi_param Sby Igor Sysoev - Nginx Mailing List - English
On Mon, May 23, 2011 at 01:18:30PM -0400, the_traveller wrote: > Hi mr Igor > I'm sory coz i toke alittle bit too long > > so if i have to make any ngnix rule i have to make it like that by ex: > > location /Joke/ { > fastcgi_pass ... > fastcgi_param SCRIPT_FILENAME /jokes.php; > fastcgi_param QUERY_STRING $args; > ... > } > > and the Original Apache ruleby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 06:27:15AM -0400, urschrei wrote: > Igor, > just to make sure I'm not misunderstanding you: > > Usually, what happens is this: > > I install an SSL cert (let's call it certA) in a client browser, so I > can access https site A, which requires it. > > But if I have a lot of clients, I'd ideally like to have nginx proxy > this cert, on behalfby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 06:12:03AM -0400, speedfirst wrote: > Is direct pass OK, like this? > > proxy_pass https://servers?abc=1 No. -- Igor Sysoev _______________________________________________ nginx mailing list nginx@nginx.org http://nginx.org/mailman/listinfo/nginxby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 06:13:49AM -0400, Trazzt wrote: > Thank you, that did the trick! > Only I have a new problem now. PHP looks suddenly disabled > I get a text file, when I visit: '127.0.0.1/phpmyadmin' > Like this: > http://postimage.org/image/2j6o8olyc/ > > I already tried to add the line: > fastcgi_index index.php; > and restarting nginx. That didn'tby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 05:48:26AM -0400, speedfirst wrote: > Hey, I wanna add a custom arg to the upstreams by proxy_pass like this: > > upstream servers { > server1:8011; > server2:8012; > } > > ... > server { > listen on 8443; > ssl on; > server_name server0; > location / { > proxy_pass https://servers; > } > } > >by Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 05:41:14AM -0400, Trazzt wrote: > Okay thx for the tip I'm new to this ;) > Here it is: > > phpmyadmin: > _____________________________________ > server{ > listen 80; > server_name phpmyadmin; > access_log /var/log/phpmyadmin.access_log; > error_log /var/log/phpmyadmin.error_log; > > location / { > root /usby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 12:31:37PM +0300, Vasil Mikhalenya wrote: > 2011/5/25 Igor Sysoev <igor@sysoev.ru>: > > $host это переменная в которой нет порта. > > Если нужен Host, пришедший от клиента, то можно использовать $http_host. > > > > > > -- > > Igor Sysoev > > > &gby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 05:15:18AM -0400, urschrei wrote: > Igor, > yes, it's a client SSL cert. You should have a CA certificate which is used to sign client certificates. This ceritificate should be declared on server level: server { listen 443; ssl on; ... ssl_client_certificate ca-cert.pem; ssl_verify_client on; -- Igor Sysoev ______________________by Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 03:53:00AM -0400, Efrem wrote: > Почему такая ошибка возникает? > 2011/05/25 11:40:10 55333#0: *1 client sent invalid header line: > "RPROXY_SSL_PROTOCOL: TLSv1" while reading client request headers, > client: 10.45.83.23, server: test.net.test-domen.ru, request: "GET / > HTTP/1.1", host: "10.81.6.76"by Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 03:36:35AM -0400, Efrem wrote: > А можно ли вывести в лог переданные > заголовки на nginx? Или как-то их другим > образом просмотреть? http://nginx.org/en/docs/debugging_log.html -- Igor Sysoev _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http:by Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 03:21:57AM -0400, Efrem wrote: > Передаю как вы сказали, но в phpinfo() все > переменные null. Что я делаю не так? > fastcgi_param HTTP_RPROXY_SERVER_NAME > $HTTP_RPROXY_SERVER_NAME; > > fastcgi_param HTTP_RPROXY_SSL_SERVER_DN $HTTP_RPby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 03:02:44AM -0400, Efrem wrote: > Спасибо! Но нет возможности заменить > apache proxy он использует специфический > модуль написанный имеенно для apache, и > там свой круг клиентов. А как в location > проверить передан ли такой-тоby Igor Sysoev - Nginx Mailing List - Russian
On Wed, May 25, 2011 at 02:46:18AM -0400, Efrem wrote: > Добрый день. > Есть связка apache proxy - apache. > Хочется перевести apache (который не > прокси) на nginx. > Каким образом можно обработать > заголовки передаваемые apache proxy в nginx и > передать их наby Igor Sysoev - Nginx Mailing List - Russian
On Tue, May 24, 2011 at 07:29:01PM +0300, Vasil Mikhalenya wrote: > Всех приветствую, > > возник вопрос, собственно конфиг ниже: > > так не работает: > > listen 192.168.1.207:8080 ; > > location / { > resolver 192.168.1.200; > proxy_passby Igor Sysoev - Nginx Mailing List - Russian
On Tue, May 24, 2011 at 05:04:11PM -0400, urschrei wrote: > I'm wondering if I can configure nginx to provide a PEM SSL cert for a > specific site on behalf of clients on my subnet, and how I might go > about configuring, testing this. I have a cert in PEM format, and nginx > 0.8.54 with SSL support, running on Ubuntu 11.04. Do you mean a cetificate that a client passes to a server orby Igor Sysoev - Nginx Mailing List - English
On Wed, May 25, 2011 at 01:10:54PM +0800, Jeff Pang wrote: > Hello, > > I'm not sure, is it just right to truncate the nginx's access log by: > > echo -n > /path/to/log/access.log nginx uses O_APPEND flag for access log, so this trick may work. There is however, a more safer way: rm access.log kill -USR1 `cat /path/to/nginx.pid` -- Igor Sysoev ____________________________by Igor Sysoev - Nginx Mailing List - English
On Mon, May 23, 2011 at 12:20:55AM +0300, Stelianos G. Sfakianakis wrote: > Hello, > > I am having the following problem: > > - I want to have a "virtual" url e.g. "/myapp" to have a totally > different document root e.g. "/home/stelios/myapp" (instead of the > default '/var/www') > - locations of the type "/myapp/css/print.css" sby Igor Sysoev - Nginx Mailing List - English
On Mon, May 23, 2011 at 08:17:46PM +0200, Roberto De Ioris wrote: > > > On Mon, May 23, 2011 at 07:42:02PM +0200, Roberto De Ioris wrote: > >> > >> > On Mon, May 23, 2011 at 04:18:30PM +0200, Roberto De Ioris wrote: > > This is the same code i made after you suggestion, but in the url parsing > code (ngx_parse_unix_domain_url), ngx_cpystrn() is used and it tby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|