Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live

Re: прозрачное проксирование с AWS S3

> пока нашел вариант с X-Accel-Redirect (http://kovyrin.net/2010/07/24/nginx-fu-x-accel-redirect-remote/)X-Accel-Redirect вам нужен, если вы хотите отдать локальный файл, нопроверить право доступа к...

View Article


Re: proxy_cache_key and $content_length

HiThat's a good idea but I think it's not possibleThe key is set before request is sent to backend but it can only knowthe content length after the request is sent to backend (catch 22)On 04/04/13...

View Article


Re: прозрачное проксирование с AWS S3

04.04.2013 15:04, Anatoly Mikhailov пишет:> Добрый день,>> появилась бизнес-задача организовать контролируемую доставку файлов> с S3, разумеется, nginx будет заниматься проверкой условий и...

View Article

Re: добавление переменных

> my_module_need_var "var1";> my_module_need_var "var2";>> И уже при старте nginx создавать обычным образом только то, что указано в> конфиге явно. Но мне это кажется не...

View Article

Re: Redirect 404 errors to the home page

On 4 April 2013 11:40, johnnybut7 <nginx-forum@nginx.us> wrote:> Hi,>> Ive received a request stating that the website owner wants all 404 error> messages redirected to the home page...

View Article


Re: Redirect 404 errors to the home page

Thanks, ive already used this resources trying the below but it doesnt make a difference, the rails static page is still being served. I think maybe i need to disable that first, thanks for your...

View Article

Re: proxy_cache_key and $content_length

Ok, it's what I supposed but I was not sure.Is there an alternative ?

View Article

SOLVED: securing access to a folder - 404 error

This is what was done to solve the problem. I am providing the two relevant location blocks.# protect the "secure" folder ( /var/www/html/secure )location /secure/ {auth_basic...

View Article


Re: добавление переменных

On Thursday 04 April 2013 08:04:53 Oleg wrote:> On Thu, Apr 04, 2013 at 01:31:38AM +0400, Валентин Бартенев wrote:> > On Thursday 04 April 2013 01:04:24 Oleg wrote:> > > On Wed, Apr...

View Article


Re: upstream load balancing.

Hello!On Thu, Apr 04, 2013 at 09:18:53AM +1300, Steve Holdoway wrote:> Folks,>> I'm sharing processing load across 3 remote servers, and am having a> terrible time getting it...

View Article

[nginx] svn commit: r5168 - trunk/src/http

Author: vbartDate: 2013-04-04 14:19:06 +0000 (Thu, 04 Apr 2013)New Revision: 5168URL: http://trac.nginx.org/nginx/changeset/5168/nginxLog:Upstream: removed surplus ngx_resolve_name_done() call.It will...

View Article

nginx keeps crashing

*** glibc detected *** nginx: worker process: double free or corruption (!prev): 0x0000000008281500 ***======= Backtrace:...

View Article

[offtop] ctpp 2.8 и пустые контекстные переменные __key__ и __size__

Извиняюсь за небольшой офтопик, но хотел уточнить у общественностииспользующей ctpp 2.8 есть ли проблемы с контекстными переменными__key__ и __size__? Столкнулся с тем, что в цикле невозможно...

View Article


Re: SSL: reject unsupported protocols "negotiated" during handshake

Hello!On Wed, Apr 03, 2013 at 03:16:14PM -0700, Piotr Sikora wrote:> Hey Maxim,>> > Do we care? I think it's ok to assume HTTP by default, even if a> > client sent something different...

View Article

Re: nginx keeps crashing

Hello!On Thu, Apr 04, 2013 at 10:21:57AM -0400, ankurs wrote:[...]> [root@localhost sbin]# ./nginx -V> nginx version: nginx/1.2.7> built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)>...

View Article


Re: [offtop] ctpp 2.8 и пустые контекстные переменные __key__ и __size__

Насколько удалось выяснить:__size__ вообще нету, т.е. упоминание его --  косяк в CHANGES__key__ справедлив в случае итерирования хэша.т.е. если бы EMPLOYEE_INFO был не массив, а хэш:{...

View Article

Re: [offtop] ctpp 2.8 и пустые контекстные переменные __key__ и __size__

4 апреля 2013 г., 19:12 пользователь Влад Максимов <vladsm@mail.ru> написал:> Насколько удалось выяснить:>> __size__ вообще нету, т.е. упоминание его -- косяк в CHANGESВ смысле, что...

View Article


Re: Nginx RP: a lot of rewrite rules

On Thu, Apr 04, 2013 at 12:20:42PM +0200, Davide D'Amico wrote:> Il 04/04/13 11:34, Francis Daly ha scritto:> >On Thu, Apr 04, 2013 at 09:01:17AM +0200, Davide D'Amico wrote:Hi there,>...

View Article

inconsistent upstream_addr log

My log format looks like thislog_format vcombined '$host $remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"...

View Article

Re: nginx доступ к странице по времени

Не обязательно встроенный. Можно скриптом проверять время и делатьвнутреннее перенаправление на страницу если доступ разрешен. IMHO, самыйпростой и гибкий вариант.5 апреля 2013 г., 11:40 пользователь...

View Article
Browsing all 53287 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>