<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Homo-Adminus Blog - Latest Comments in Обзор Типичных Конфигураций Для Nginx</title><link>http://homo-adminus.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 16 Sep 2008 12:14:25 -0000</lastBuildDate><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460392</link><description>Thanks for the nice overview. A question:&lt;br&gt;&lt;br&gt;Could nginx be used as a HTTP wrapper for TCP protocols that do not speak HTTP, such as RTMP? Or with added SSL to function like stunnel?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hans</dc:creator><pubDate>Tue, 16 Sep 2008 12:14:25 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460391</link><description>Здравствуйте. Кто нибудь в курсе как настроить nginx, так чтобы он смог обрабатывать URL большой длины т.е. длина HTTP GET запросов могла быть более 4-5 кб. При моей текущей конфигурации запросы такой длины приводят к появлению 414 ошибки.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anton</dc:creator><pubDate>Wed, 23 Jul 2008 09:43:07 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460390</link><description>i'm tired of fighting with nginx, so changed it with lighttpd</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Добрые комиксы</dc:creator><pubDate>Thu, 05 Jun 2008 15:14:42 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460389</link><description>Hi, its possible to use Trac SCM on nginx with basic auth?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno</dc:creator><pubDate>Mon, 07 Apr 2008 19:55:10 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460388</link><description>Скажите, а где прописывать эти команды для нгинкс?&lt;br&gt;Если создать .htaccess и в нём прописать. то будет работать?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Администраторша</dc:creator><pubDate>Sat, 15 Mar 2008 14:00:30 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460387</link><description>Hi,&lt;br&gt;  Thanks for the previous response.&lt;br&gt;  Is it possible to enable SSL between NGINX and backend POP server. Can somebody please share any example configuration to achive this.&lt;br&gt;&lt;br&gt;  Basically the scenario I am talking about is, the end user POP3 client talks to the NGINX pop proxy over TCP port 110, then the NGINX server talks to backend POP3 server over SSL socket say 995.&lt;br&gt;&lt;br&gt;  I tried compiling the NGINX with mail_ssl support, but the TCP connection between NGINX and backend pop3 server gets established but SSL session set up does not happen.&lt;br&gt;&lt;br&gt;I appreciate any help in this regard.&lt;br&gt;&lt;br&gt;Thanks and regards&lt;br&gt;&lt;br&gt;K Achary</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">K Achary</dc:creator><pubDate>Wed, 13 Feb 2008 12:51:18 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460385</link><description>2Fritzie: AFAIU, you need to enable mail support when you compile your nginx.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Wed, 30 Jan 2008 02:57:27 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460386</link><description>Hi &lt;br&gt; I am trying to configure Nginx as proxy POP3 server on a Linux 2.6.x system. When I try to use the example config files, nginx daemon says imap and mail as unrecognized words. Would appreciate any help in this regards.&lt;br&gt;&lt;br&gt;achari_98 AT &lt;a href="http://yahoo.com" rel="nofollow"&gt;yahoo.com&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">K Achary</dc:creator><pubDate>Tue, 29 Jan 2008 14:15:22 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460384</link><description>hi anyone know how to get nginx to autostart on reboot..    using ssl and be able to have the passphrase ( which it always ask for on restart ) automatically entered.  ??&lt;br&gt;&lt;br&gt;please send answer to &lt;a href="mailto:chrisangileri@yahoo.com" rel="nofollow"&gt;chrisangileri@yahoo.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;thanks muchly</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fritzie</dc:creator><pubDate>Sat, 20 Oct 2007 17:14:36 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460383</link><description>I am testing nginx with your static configuration (first example in your post) and getting some strange behaviour:&lt;br&gt;&lt;br&gt;For files larger than a few hundred kB, I often get a 206 partial or a 200, but the file does not send completely. This is very irregular. Sometimes it works, sometimes not. Any ideas?&lt;br&gt;&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;An example req/resp:&lt;br&gt;&lt;br&gt;GET /static/f/testimage.jpg HTTP/1.1&lt;br&gt;Host: &lt;a href="http://www.xxxx.com" rel="nofollow"&gt;www.xxxx.com&lt;/a&gt;&lt;br&gt;User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4&lt;br&gt;Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5&lt;br&gt;Accept-Language: en-gb,en;q=0.5&lt;br&gt;Accept-Encoding: gzip,deflate&lt;br&gt;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7&lt;br&gt;Keep-Alive: 300&lt;br&gt;Connection: keep-alive&lt;br&gt;Range: bytes=544487-&lt;br&gt;If-Range: Wed, 04 Apr 2007 12:20:33 GMT&lt;br&gt;Cache-Control: max-age=0&lt;br&gt;&lt;br&gt;HTTP/1.x 206 Partial Content&lt;br&gt;Date: Sat, 02 Jun 2007 11:15:58 GMT&lt;br&gt;Server: nginx/0.5.22&lt;br&gt;Content-Type: image/jpeg&lt;br&gt;Content-Length: 2949459&lt;br&gt;Last-Modified: Wed, 04 Apr 2007 12:20:33 GMT&lt;br&gt;Expires: Thu, 31 Dec 2037 23:55:55 GMT&lt;br&gt;Cache-Control: max-age=315360000&lt;br&gt;Content-Range: bytes 544487-3493945/3493946&lt;br&gt;Keep-Alive: timeout=2, max=100&lt;br&gt;Connection: Keep-Alive</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ray</dc:creator><pubDate>Sat, 02 Jun 2007 07:25:18 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460382</link><description>2aim: не - нельзя. Но можно извратиться и запустить N нгинксов по одному воркеру на каждого и на них спроксировать... через нгинкс номер N+1 :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Tue, 06 Mar 2007 21:24:53 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460381</link><description>вот хотел спросить -- а есть возможность каждому виртуальному серверу своего пользователя указать?&lt;br&gt;&lt;br&gt;сейчас у меня крутится apache-mpm-itk но в общем-то мне не нужен апач на сервере. но нужно раздавать кучу всякой статики для которой судя по всему nginx подходит как нельзя лучше...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aim</dc:creator><pubDate>Tue, 06 Mar 2007 18:43:16 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460380</link><description>2scoundrel: I might have a bit of an "aha" moment here...fired up firefox's live headers and rec'd this after hitting the "send":&lt;br&gt;&lt;br&gt;Location: &lt;a href="http://www.myserver.com:8080/webmail/src/right_main.php?mailbox=INBOX&amp;amp;sort=0&amp;amp;startMessage=1" rel="nofollow"&gt;http://www.myserver.com:8080/webmail/src/right_...&lt;/a&gt;&lt;br&gt;&lt;br&gt;So, it looks like the Apache backend is misbehaving and not trying to redirect to&lt;br&gt;&lt;br&gt;"https://www.myserver.com/webmail..."&lt;br&gt;&lt;br&gt;I've seen several pages on how to configure Apache as a reverse proxy, but can't seem to find much on how it should be configured to be the backend.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian</dc:creator><pubDate>Thu, 16 Nov 2006 16:36:06 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460379</link><description>Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian</dc:creator><pubDate>Thu, 16 Nov 2006 15:25:42 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460378</link><description>2Ian: Honestly speaking, I have not so big experience with nginx+ssl... I've forwarded your question to russian nginx mailing list. Will answer here or by email if someone will answer about this issue.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Thu, 16 Nov 2006 15:24:46 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460377</link><description>Made a partial jump last night...&lt;br&gt;&lt;br&gt;Fired up nginx running an ssl connection and reverse proxying it to Apache.&lt;br&gt;&lt;br&gt;All seemed to work okay. Fired up Squirrelmail and was able to read messages just fine. I did notice a problem when I tried to send message.  After I hit "send" in Squirrelmail, the page wouldn't refresh to the message list, but stayed in the message edit page. The message DID get sent (I checked) but Squirrel wouldn't leave the compose message page.&lt;br&gt;&lt;br&gt;I checked the error logs for nginx and saw this message:&lt;br&gt;&lt;br&gt;SSL_do_handshake() failed (SSL: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 aler&lt;br&gt;t bad certificate) while reading client request line, client: xxx.xxx.xxx.xxx, server: &lt;a href="http://www.myserver.com" rel="nofollow"&gt;www.myserver.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Here's the server config:&lt;br&gt;&lt;br&gt;server {&lt;br&gt;listen       443;&lt;br&gt;root /usr/local/apache/htdocs;&lt;br&gt;server_name  &lt;a href="http://www.myserver.com;" rel="nofollow"&gt;www.myserver.com;&lt;/a&gt;&lt;br&gt;ssl                  on;&lt;br&gt;ssl_certificate      /usr/local/apache/conf/server.pem;&lt;br&gt;ssl_certificate_key  /usr/local/apache/conf/server.key;&lt;br&gt;&lt;br&gt;ssl_session_timeout  5m;&lt;br&gt;&lt;br&gt;location / {&lt;br&gt;            root   shtml;&lt;br&gt;            index  index.shtml index.html;&lt;br&gt;location / {&lt;br&gt;            proxy_pass         &lt;a href="http://127.0.0.1:8080/;" rel="nofollow"&gt;http://127.0.0.1:8080/;&lt;/a&gt;&lt;br&gt;            proxy_redirect     off;&lt;br&gt;&lt;br&gt;            proxy_set_header   Host             $host;&lt;br&gt;            proxy_set_header   X-Real-IP        $remote_addr;&lt;br&gt;            proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;&lt;br&gt;&lt;br&gt;            client_max_body_size       10m;&lt;br&gt;            client_body_buffer_size    128k;&lt;br&gt;&lt;br&gt;            proxy_connect_timeout      90;&lt;br&gt;            proxy_send_timeout         90;&lt;br&gt;            proxy_read_timeout         90;&lt;br&gt;&lt;br&gt;            proxy_buffer_size          4k;&lt;br&gt;            proxy_buffers              4 32k;&lt;br&gt;            proxy_busy_buffers_size    64k;&lt;br&gt;            proxy_temp_file_write_size 64k;&lt;br&gt;        }</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian</dc:creator><pubDate>Thu, 16 Nov 2006 15:14:20 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460376</link><description>2Ian: AFAIU, you can setup non-encrypted connection between nginx and apache. As for pound, afair, it is simple tcp balancer, so it may require ssl on apache because it would simple proxy users connection on ISO Model Level 3.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Wed, 15 Nov 2006 02:21:36 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460375</link><description>I just thought of something...&lt;br&gt;&lt;br&gt;If nginx is running the ssl and reverse proxying to apache, does the _Apache_ have to be running ssl...or is the connection between nginx and apache encrypted. Just thought of that after reading some info on Pound and seeing how it acts as an SSL wrapper.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian</dc:creator><pubDate>Wed, 15 Nov 2006 01:54:15 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460374</link><description>2matthew: Take a look at my post about using nginx with rails and mongrel. there is some config file with rails caching support.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Tue, 14 Nov 2006 23:21:07 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460373</link><description>2Ian: You can take a look at sample config file from nginx distribution. there is some https example. &lt;br&gt;&lt;br&gt;All ideas are the same but you need some additional params in server section of config to assign specific certificates for virtual host.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Tue, 14 Nov 2006 23:19:53 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460372</link><description>Thanks for the resource. How do you have nginx reverse-proxy to http and https for apache? &lt;br&gt;&lt;br&gt;It looks really interesting, can't wait to try it out.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ian</dc:creator><pubDate>Tue, 14 Nov 2006 23:00:38 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460371</link><description>I'm running nginx with a mongrel process in the background to serve RoR applications, but I'm having trouble getting nginx to serve static HTML pages from the document root. The server passes all requests, regardless of whether there is a directory/file in the document root to mongrel.&lt;br&gt;&lt;br&gt;For reference, I've uploaded my configuration file to a different server: &lt;a href="http://macographie.com/nginx.conf.txt" rel="nofollow"&gt;http://macographie.com/nginx.conf.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;As you'll see, I have two virtual hosts defined. Eventually, I would like to have both hosts capable of server both RoR applications and static server content.&lt;br&gt;&lt;br&gt;Thanks in advance for any advice.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">matthew</dc:creator><pubDate>Thu, 12 Oct 2006 21:46:27 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460370</link><description>joe,&lt;br&gt;Actually, no. Nginx has only non-caching reverse proxying mode. But if your backend is some dynamic application on php/perl/java/etc, you can use memcached module to cache your answers and then nginx can get pages from cache.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scoundrel</dc:creator><pubDate>Sun, 08 Oct 2006 02:28:00 -0000</pubDate></item><item><title>Re: Обзор Типичных Конфигураций Для Nginx</title><link>http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/#comment-2460369</link><description>When using nginx in reverse proxy mode, is it possible to have nginx cache the result it got from the backend server (say for 1 minute) and just serve that without asking the backend server any more (until the 1 minute is up...)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joe</dc:creator><pubDate>Tue, 03 Oct 2006 18:07:08 -0000</pubDate></item></channel></rss>