On Aug 31, 2012, at 18:50 , nexon wrote: > Yes, this would be much beter, but I am stuck with my conf as it is... The more complex configuration I will eventually create the more often you will stuck with it. It's better to create a scaleable configuration from the very start or at least as early as possible. -- Igor Sysoev _______________________________________________ nginx mailing lisby Igor Sysoev - Nginx Mailing List - English
On Fri, Aug 31, 2012 at 06:04:08PM +0400, Alex Kapranoff wrote: > Привет! > > Есть простой прокси. Хотим обрабатывать редиректы от апстримов внутри > nginx -- так, чтобы они не доходили до браузера. Пусть браузер > получает только последний ответby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Aug 31, 2012 at 09:52:48AM -0400, nexon wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Aug 31, 2012, at 15:44 , nexon wrote: > > > > >> Anything except favicons in this servers is the same ? > > > > > > Please explain your question. > > > If I understand you correctly, you are asking isby Igor Sysoev - Nginx Mailing List - English
On Aug 31, 2012, at 15:44 , nexon wrote: >> Anything except favicons in this servers is the same ? > > Please explain your question. > If I understand you correctly, you are asking is every subdomain have their > own page, than yes. > The trick is that if subdomain have it's own favicon than it needs to be > served with it, if not, than to be served with main favicon.ico.by Igor Sysoev - Nginx Mailing List - English
On Aug 31, 2012, at 15:27 , nexon wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- >> Why not to create a separate server block for each site instead of >> this >> if/rewrite mess ? >> >> >> -- >> Igor Sysoev >> >> _______________________________________________ >> nginx mailing list >>by Igor Sysoev - Nginx Mailing List - English
On Aug 31, 2012, at 14:06 , Hari Hendaryanto wrote: > hi, > > i've setup pop3/imap4 proxy using nginx recently, everything work great, unless i cannot obtain client ip address, i'm using external auth_http server run on apache/php. > > How do i forward client ip from nginx to apache auth server? something like 'X-Forwarded-For' in http reverse proxy. > this is what i have doneby Igor Sysoev - Nginx Mailing List - English
On Aug 31, 2012, at 14:28 , nexon wrote: > Nginx rewrite rules for favicon.ico for multiple subdomains. > > In nginx /etc/sites-avaliable/vhost_config_file, I have the following > rewrite rules for serving multiple subdomains with their favicon.ico files: > > > > if ($host = example1.example.com){ > rewrite ^/favicon.ico$ /favicon_example.ico break; >by Igor Sysoev - Nginx Mailing List - English
On Aug 30, 2012, at 17:05 , DSmirnov wrote: > Доброго времени суток! > > Тестирую новую сборку nginx 1.2.3 на нагрузку. Боевые IPVS кластера сервера > на другой версии. > Даю нагрузку с балансировщиков на тестовый сервер с 1.2.3. > Наблюдаю слby Igor Sysoev - Nginx Mailing List - Russian
On Aug 30, 2012, at 17:13 , Javi Lavandeira wrote: > Hi, > > On 2012/08/30, at 22:07, "yashgt" <nginx-forum@nginx.us> wrote: > >> Yes. Same IP address. With no SSL, this works fine . I can access one app as >> http://myserver/ and the other as http://myserver:83/. > > When working with SSL you need to use a different IP address for each SSL host.by Igor Sysoev - Nginx Mailing List - English
On Aug 30, 2012, at 15:50 , yashgt wrote: > Hi, > > I have 2 server sections in my config. One runs on port 80 and SSL on 443. > The other on port 83 and its SSL on 444: > listen 83 default ; > ## SSL directives might go here > listen 444 ssl; > Once I restart nginx and run netstat -a I see port 443 being used but not > port 444. What might be theby Igor Sysoev - Nginx Mailing List - English
On Aug 28, 2012, at 9:25 , bompus wrote: > Good to know. Thank you for checking on this. If you could add this > information to the documentation for SNI and/or SSL, that would be helpful > for others. We will add. BTW, using SNI for IP addresses is forbidden by RFC: http://tools.ietf.org/html/rfc4366#section-3.1 Currently, the only server names supported are DNS hostnames; howevby Igor Sysoev - Nginx Mailing List - English
On Aug 21, 2012, at 16:58 , Jordi Boggiano wrote: > Heya, > > I have a server with two domains using SSL on one IP via SNI. So far so > good, but the problem is that one of the site is marked as > default_server to catch all (then I do a redirect to the proper domain, > I left out some parts of the config below for conciseness). > > The problem is, if you have a ssl servby Igor Sysoev - Nginx Mailing List - English
On Aug 28, 2012, at 8:48 , bompus wrote: > I tested with latest stable versions of Firefox, Chrome, IE9 on Windows 7 > x64. What you said makes sense to me but I have no way of verifying from my > end. If you find out this is the case, please make note of it in the > documentation somewhere to save somebody else the frustration of figuring > this out. I've just tested using Firefoby Igor Sysoev - Nginx Mailing List - English
On Aug 28, 2012, at 8:33 , bompus wrote: > I've had the same issues and did some testing. > > The following causes the issue where the SSL certificate that is defined in > the default_server block is being sent for requests that end up in another > server block that has a different ssl_certificate defined. This only happens > when adding the IP address as server_name. > >by Igor Sysoev - Nginx Mailing List - English
On Aug 28, 2012, at 2:40 , Nick Knutov wrote: > > Мне просто любопытно, вы правда ожидаете, что вам ответят что-нибудь, кроме совета проапгрейдить nginx до последней версии? Хотя nginx и старый, он здесь ни при чём - ядро не должно падать из-заby Igor Sysoev - Nginx Mailing List - Russian
On Aug 24, 2012, at 13:18 , DaNko wrote: > Подскажите ещё оптимальное значение types_hash_max_size под CPU Core i7 920 > и server_names_hash_bucket_size Оптимальное значение - отсутствие этих директив, если nginx их явно не попросил. -- Igor Sysoev ________________________________________by Igor Sysoev - Nginx Mailing List - Russian
On Aug 24, 2012, at 12:23 , DaNko wrote: > access_log /dev/null alert; access_log off; > error_log /dev/null alert; > > Так правильно? Но вообще, правильная практика для error_log'а - писать ошибки, регулярно ротейтить и хранить последние несколько дней. Это позвоby Igor Sysoev - Nginx Mailing List - Russian
On Aug 24, 2012, at 9:23 , Hett wrote: > Если я указываю в proxy_pass адрес 127.0.0.1, то почему-то mod-rpaf не > хочет заменять REMOTE_ADDR на настоящий, если же указываю внешний IP, то все > нормально. Как-то это лечится? Если указывать внешний айпи, то нby Igor Sysoev - Nginx Mailing List - Russian
On Aug 24, 2012, at 6:55 , Igor V. Fatkulin wrote: > error_log /dev/null; error_log /dev/null alert; Чтобы уменьшить число возможных сисколлов. -- Igor Sysoev _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ruby Igor Sysoev - Nginx Mailing List - Russian
On Aug 23, 2012, at 12:48 , Dmitry Ivanov wrote: > Здравствуйте, Alex. > > Вы писали 23 августа 2012 г., 10:28:48: > >>> Да, ладно. http://en.wikipedia.org/wiki/Server_Name_Indication#No_support >>> >> Internet Explorer (any version) on Windows XP >> Сколько их ещё осталось в % ? > > Тамby Igor Sysoev - Nginx Mailing List - Russian
On Aug 23, 2012, at 12:23 , ShivaS wrote: > Пользуясь моментом... > Игорь, > Вы не могли бы немного пролить свет на поддержку CyaSSL в nginx? > Было много шума в феврале, они раскидали сообщения где только можно, по > всему свету. > И с тby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Aug 23, 2012 at 03:53:07AM -0400, ShivaS wrote: > > эмм, а почему отключен gzip ? > > Маленькие сообщения это текст, там дороже выходит сжимать их, да и местами > сжатый размер будет больше, чем несжатый > Большие не сжимаются. Вот и нby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Aug 23, 2012 at 12:18:12PM +0600, Илья Шипицин wrote: > Игорь написал про очень хороший вариант, TLS SNI, но он, к сожалению не > повсеместно поддерживается браузерами. > > вместо TLS SNI можно сделать так называемый wildcard ssl, это сертифиby Igor Sysoev - Nginx Mailing List - Russian
On Aug 22, 2012, at 18:25 , Tatoon wrote: > По моему, надо вместо > proxy_pass http://192.168.0.20$request_uri; > указать просто > proxy_pass http://192.168.0.20; > так же можно попробовать добавить > proxy_redirect http://192.168.0.20/ /; Достаточно только proxy_pass http://192.168.0.20; -- Igor Sysoeby Igor Sysoev - Nginx Mailing List - Russian
On Aug 22, 2012, at 18:22 , Tatoon wrote: > Добрый день, каким образом можно реализовать такую схему ? > > server { > listen 192.168.0.1:443 default rcvbuf=8192 sndbuf=16384 > backlog=32000; > server_name site1.ru site2.ru; > keepalive_timeout 180; > if ($host = 'site1.ru'){ > sslby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Jul 25, 2012 at 08:47:57PM -0400, justin wrote: > Igor, > > Thanks for the reply. Still not working, getting 404 error. > > Here is the config snippet I am using: > > server { > listen 80; > > server_name app.mydomain.com; > > root /srv/www/domains/app.mydomain.com; > > index index.php; > > access_log /var/log/nginx/domainsby Igor Sysoev - Nginx Mailing List - English
On Jul 24, 2012, at 5:23 , justin wrote: > I have the following simple lighttpd rewrite rule: > > $HTTP["host"] =~ "^(app\.mydomain\.com)$" { > url.rewrite-once = ( > "^[^.]*$" => "controller.php/$1" > ) > } > > I am trying to port this rule to nginx and have the following: > > serby Igor Sysoev - Nginx Mailing List - English
On Mon, Jul 09, 2012 at 01:01:21PM +0200, Sjon Hortensius wrote: > On 07/09/2012 11:52 AM, Maxim Dounin wrote: > > Hello! > > > > On Mon, Jul 09, 2012 at 10:41:19AM +0200, Sjon Hortensius wrote: > > > >> Hi, > >> > >> I think I stumbled upon a bug in nginx but I would like to get > >> someone else's opinion on this. > >> >by Igor Sysoev - Nginx Mailing List - English
On Wed, Jul 04, 2012 at 01:24:26PM +0400, Михаил Монашёв wrote: > Здравствуйте. > > Гугель пишет, что в ответах удалённых страниц надо отвечать 410-ым > кодом: > http://support.google.com/webmasters/bin/answer.py?hl=ru&answer=181708 > > Я по старинке отвечаю 301-by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Jul 03, 2012 at 02:56:27AM +0000, 刘桂源(研六 福州) wrote: > HI, > Master! > After kill ?CHUP the pid of nginx twice, nginx is Segmentation fault (core dumped) > Here is the gdb info: > Program received signal SIGSEGV, Segmentation fault. > 0x0040eb29 in ngx_clean_old_cycles (ev=0x570e10) at src/core/ngx_cycle.c:1349 > 1349 if (cby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|