В логах nginx пишет вместо "127.0.0.1""::ffff:127.0.0.1"
Добрый день.На сервере Ubuntu 12.04 LTS установлен Wordpress, NGINX, PHP-FPM+APC +Varnish.В конфигах /etc/nginx/nginx.conf прописаноset_real_ip_from 127.0.0.1;real_ip_header X-Forwarded-For;В конфигах...
View Articleauth_basic 500 Internal Server Error
Hi, guys!I am attempting to secure one subdirectory on the server with ngx_http_auth_basic_module. Unfortunately, without success.In log file error:2013/06/24 22:03:05 [crit] 34189#0: *1 open()...
View ArticleRe: auth_basic 500 Internal Server Error
> 2013/06/24 22:03:05 [crit] 34189#0: *1 open()> "/usr/local/etc/nginx/authpw" failed (13: Permission denied)>> # ls -lo ./authpw> -r--r----- 1 root www - 50 24 чер 21:58...
View ArticleRe[2]: auth_basic 500 Internal Server Error
--- Original message ---From: "Reinis Rozitis" <r@roze.lv>Date: 24 June 2013, 23:00:48> > 2013/06/24 22:03:05 [crit] 34189#0: *1 open()> > "/usr/local/etc/nginx/authpw" failed (13:...
View ArticleRe: Re[2]: auth_basic 500 Internal Server Error
On Tue, 2013-06-25 at 00:20 +0300, wishmaster wrote:>> --- Original message ---> From: "Reinis Rozitis" <r@roze.lv>> Date: 24 June 2013, 23:00:48>>> > > 2013/06/24...
View ArticleNginx + Uwsgi Error: unknown directive "uwsgi_pass"
Hi all,I'm trying to configure nginx 1.1.19 on an ubuntu server with uwsgi. Itworks fine on my ubuntu dev machine with the same exact version of nginx,but for some reason I get the following error when...
View ArticleRe: Nginx + Uwsgi Error: unknown directive "uwsgi_pass"
Are you sure it's got uwsgi built in? If it's from a different repo /not up to date, then it may well not.nginx -Vshould answer that.On Mon, 2013-06-24 at 17:25 -0400, Josh Haimson wrote:> Hi...
View ArticleRe[2]: Re[2]: auth_basic 500 Internal Server Error
Yeah, Steve! You're right. Thanks. nginx config dir had rwx for root:wheel only. Need to sleep :-).--- Original message ---From: "Steve Holdoway" <steve@greengecko.co.nz>Date: 25 June 2013,...
View Articleвопрос по встроенному Perl-у
Добрый день.Хочу написать приложение с использованием встроенного Perl-a.По документации понял что надо в location-ах задавать ссылки на подпрограммы таким примерно образомlocation / {perl...
View ArticleRe: bug in spdy - 499 response code on long running requests
Valentin,Unfortunately I did not build nginx --with-debug, additionally it would be somewhat tedious and hard to replicate the issue.However, if needed, I can recompile nginx on a development server...
View ArticleRe: Why nginx's http parser doesnt use regular expressions?
Thanks for the reply.I have another question, was any state machine generators like ragel usedto code this or this is completely hand written?AnshukOn Mon, Jun 24, 2013 at 4:21 PM, Maxim Dounin...
View ArticleRe: Помогите: m.domain.ru -> m.domain.ru/m, но...
Да. Спасибо огромное! Всё получилось. Видимо нужно было копать в эту сторону...Я сначала попробовал с rewrite вариант, но по глупости вставил его не в location а прямо в server. Естественно ничего не...
View ArticleRe: Помогите: m.domain.ru -> m.domain.ru/m, но...
Мне кажется, что надо писать всетаки так как в первом варианте, только надо учесть что все запросы будут отдаваться в jetty и деректива root теряет смысля бы попробовал изменить> if ($host =...
View Articleduplicate Vary: Accept-Encoding header
I use nginx 1.4.1 with gunzip = on and gzip_vary = on. This leads to a duplicate Vary Header.gzip_vary should do nothing if the header is already present:user@aladin:~$ curl -I -A test...
View ArticleRe: В логах nginx пишет вместо "127.0.0.1""::ffff:127.0.0.1"
Повесить NginX отдельно на IPv6-сокет и отдельно на IPv4:У меня, например, это:listen [::]:80 default ipv6only=on;listen *:80 default;listen [::]:443 default_server ipv6only=on ssl;listen *:443...
View ArticleRe: API question: large data processing handler
hi,On Thu, Jun 20, 2013 at 3:11 AM, Maxim Dounin <mdounin@mdounin.ru> wrote:> Hello!>> On Wed, Jun 19, 2013 at 11:42:57PM -0600, Julien Zefi wrote:>> > i tried to follow the...
View ArticleРегулярки для map
Доброго всем!Помогите плз с регулярками для map'ов.Имеется строка типа:https://www.facebook.com/pages/Test/123456789123456?sk=app_987654321987654которая приходит как реферал. Нужно получить из нее...
View ArticleRe: В логах nginx пишет вместо "127.0.0.1""::ffff:127.0.0.1"
Все заработало. Спасибо!Вот конфиг:#######server {# Default server block blacklisting all unconfigured accesslisten [::]:8080 default_server ipv6only=on;listen *:8080 default_server;server_name...
View ArticleSPDY: what is the purpose of blocked frame
Hi Nginx Developers,Could someone explain what is the purpose to use blocked frame forSYN_REPLY frame in spdy implementation?According to our investigation it makes it impossible to use spdypriorities...
View ArticleSPDY Installed but not working?
We have installed Nginx on CentOS 6. This is a new install using Nginx 1.4.1 and OpenSSL 1.0.1eWe then confgured our vhosts to use SPDY, however using a few different tests, it's showing that SPDY is...
View Article