Re: -s reload access denied?
ok, I dont know really why, but in my case I fixed it:the service was running under the local system account.i tried to send the -s reload as a administrator user on this machine and this fails.after...
View ArticleRe: fcgi подзапросы
> Чтобы ещё меньше грешить на parser, попробовал запустить процесс, который> жрёт много ресурсов и выполняется долго.> И зайти на любую страницу, страница не отдаётся пока не завершится>...
View ArticleUpstream_cache_status -> Return ' - '
Hi, I have 2 version of Nginx running ; 1.2.1 and 1.4.1. Basically 1.4.1 is just newly installed and copy all configuration files over.It works perfectly fine. Just one thing I notice that the...
View ArticleRe: fcgi подзапросы
30 мая 2013 г., 13:08 пользователь Daniel Podolsky <onokonem@gmail.com>написал:> > Чтобы ещё меньше грешить на parser, попробовал запустить процесс, который> > жрёт много ресурсов и...
View ArticleLocations (vhosts), ubuntu server
Hello,I have currently configured my domain as the following:http://paste.ie/view/a4e9b7e7I saved its content in a configuration file which I placed in : etc/nginx/sites-enabled...
View Articlenewbie needs help
Hi,new in ths nginx, with following config, I want to achieve:http://sample.com/ render index.htmlhttp://sample.com/test, or anything after '/' path, render index.htmlserver {listen 80;server_name...
View ArticleRe: fcgi подзапросы
Проблема решилась.Неправильно работал fcgiwrap.Действительно дефолтное кол-во соединений 1.Задал опцию -c Number of fcgiwrap processes to preforkВсё работает. Всем спасибо.30 мая 2013 г., 13:36...
View ArticleПоиск файлов в каталогах
Добрый день.Помогите решить задачу:Есть веб-сервер nginx с root /www/ftp/files, который раздает статические файлы (скриншоты).Скринов со временем стало много и я решил разложить из на 2010 | 2011 |...
View ArticleRe: newbie needs help
On Thursday 30 May 2013 14:02:00 angelochen960 wrote:> Hi,> new in ths nginx, with following config, I want to achieve:>> http://sample.com/ render index.html> http://sample.com/test, or...
View ArticleRe: Поиск файлов в каталогах
Здравствуйте.Если список каталогов конечный, то можно забить их все в try_files:location /files/ {location ~ ^/files/(?<filename>.*)$ {try_files...
View ArticleRe: Поиск файлов в каталогах
Да, последний параметр для try_files - =404, например._______________________________________________nginx-ru mailing listnginx-ru@nginx.orghttp://mailman.nginx.org/mailman/listinfo/nginx-ru
View Articleif-none-match with proxy_cache : properly set headers
Hi,i struggled a little to get nginx to cache 304 responses from backend using proxy_cache.What happens when configuring proxy_cache is that 304 responses are not happening becausenginx strips...
View ArticleRe: Поиск файлов в каталогах
Если название файла подходит под шаблон YYYYMMDD* то как-то так:location /files {try_files $uri =404;location ~ "^/files/(<?year>\d{4})(?<filename>.*)$" {try_files /files/$year/$filename...
View ArticleRe: Поиск файлов в каталогах
Спасибо. Очень помогло. Я ходил как раз вокруг да около, подобного try_files. Но нехватило понимания как вывести переменную. Спасибо.
View ArticleRe: if-none-match with proxy_cache : properly set headers
Hello!On Thu, May 30, 2013 at 06:41:50AM -0400, kapouer wrote:> Hi,> i struggled a little to get nginx to cache 304 responses from backend using> proxy_cache.> What happens when configuring...
View ArticleHello, every one.
I'm a software engineer of XiaoMi Inc. nowNot good using nginx. hope I can learn a lot from here.
View ArticleRe: newbie needs help
Thanks for the reply, it works, and also I read again those references. a related issue, say:if somebody enter this url in the browser: http://sample.com/not_exist_urland I'd like to redirect it...
View ArticleDoes nginx support compress a request to the upstream server ?
Like this? does nginx suppor it ?[Client] [Nginx Reverse Proxy] [BackEnd]| [Raw Post] | [gzip encoded request] ||---------------------------> | ------------------------------------->|| | || [Raw...
View ArticleRe: Does nginx support compress a request to the upstream server ?
Er......[Client]---(raw request) ---> [nginx reverse proxy] -----(gzip encoded request) ----> [ back end]
View Article