Re: How covert this rules?
I make this but it's don't work 404location / {if (!-e $request_filename){rewrite ^/([^.]+[^/])$ $request_uri/ permanent;rewrite ^/(.*)$ /index.php/$1 break;}}what's wrong?
View Articleunsubscribe
unsubscribe---------------------------------------------------------------------------------------------------Confidentiality Notice: The information contained in this e-mail and any accompanying...
View Articleunsubscribe
unsubscribe靳春孟---------------------------------------------------------------------------------------------------Confidentiality Notice: The information contained in this e-mail and any accompanying...
View ArticleLooking to returning a 302 Redirect if a file is above a certain size...
Hey there,I was looking for some guidance for a project I'm working on.We're looking into CDNs here, and we are specifically looking for a decent origin pull service that also supports denying by...
View ArticleRe: -s reload access denied?
I have the same problems with 1.4.1:d:\nginx>nginx.exe -s reloadnginx: [error] OpenEvent("Global\ngx_reload_3040") failed (5: Access is denied)any ideasregardsdittsche
View ArticleRe: 400 Bad Request в Mercurial
Maxim Dounin Wrote:-------------------------------------------------------> Hello!>> On Mon, May 20, 2013 at 12:31:10AM -0400, kasak wrote:>> > Имеется репозиторий на меркуриале,...
View ArticleRe: 400 Bad Request в Mercurial
> Я пробовал выставлять debug, там только client closed connectionТогда это, скорее всего, и есть причина_______________________________________________nginx-ru mailing...
View ArticleRe: /index.php?do=register = deny all
On Monday 20 May 2013 21:10:44 Vipper wrote:> Доброго времени суток.> Поскажите пожалуйска как правильно будет выглядеть конфиг чтобы закрыть> доступ вот к таким url:> 1-...
View ArticleRe: [PATCH] Style: cleanup.
Actually, after thinking about it, it makes much more sense to do thisas a two separate patches with better descriptions.While there, I've also renamed "ssl" to "ssl_conn", to stay consistentwith the...
View ArticleRe: Nginx returns HTTP 200 with Content-Length: 0
no, no, no!Normally, it's not 0, but sometimes, the possibility is 0.07%. It's absolutely not normal![21/May/2013:00:02:56 +0800] "POST /ourservice/api HTTP/1.1" 200 607 27 "-" "c"...
View ArticleПадает nginx
nginx version: nginx/1.4.1built by gcc 4.2.1 20070719 [FreeBSD]TLS SNI support enabledconfigure arguments: --prefix=/home/web/dian/nginx --sbin-path=/home/web/dian/nginx/...
View ArticleRe: url rewriting problem with location ~* ^.+.(jpg|jpeg|gif|...
You're missing a backslash.So it will look like this:location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|srt|txt|swf)$ {access_log off;expires 30d;}
View Article502-е в почту
Нет ли готового решения на предмет раз в 15 минут сканировать access.log (в идеале - запомнив текущую позицию) , собрать все 502-е ( и/или другие - по выбору) и, если обнаружились, скинуть на e-mail.db
View ArticleRe: 502-е в почту
мы через Lua отправляем (блокирующая операция), смотрите, насколькоэто применимо к вашей ситуацииerror_page 502 = @502;location / {............}location @502 {default_type 'text/plain';content_by_lua...
View ArticleОтмена загрузки
Здравствуйте,я использую модуль nginx upload module для приема файлов от клиентов.Иногда, клиенты отменяют/обрывают загрузку файла в результате чего в лог файле я вижу записи2013/05/22 11:19:24 [alert]...
View ArticleRe: 502-е в почту
Спасибо. А нет ли у кого чего-то подобного на перловке, перловый модуль есть во фрибсдшном порту, а Lua вроде как нет.
View ArticleRe: 502-е в почту
а тут говорят, что LUA есть:http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/nginx/Makefile?rev=1.392;content-type=text%2Fplain22 мая 2013 г., 13:34 пользователь Gaidamak <nginx-forum@nginx.us>...
View ArticleRe: 502-е в почту
О, точно есть. А как этот скрипт себя ведет в случае массового возникновения 502-х?
View ArticleRe: 502-е в почту
Здравствуйте.Не проще ли сваливать все 502 ошибки через error_page в один location. Внем определить custom-ный формат лога (дата, хост, запрос) и в режиме tail-f разбирать его как угодно.Никаких...
View ArticleRe: /index.php?do=register = deny all
Валентин Бартенев Wrote:-------------------------------------------------------> On Monday 20 May 2013 21:10:44 Vipper wrote:> > Доброго времени суток.> > Поскажите пожалуйска как...
View Article