On Feb 17, 2011, at 22:38 , Maxim Khitrov wrote: > On Thu, Feb 17, 2011 at 1:47 PM, Maxim Khitrov <max@mxcrypt.com> wrote: >> On Thu, Feb 17, 2011 at 12:05 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: >>> Hello! >>> >>> On Thu, Feb 17, 2011 at 09:48:24AM -0500, Maxim Khitrov wrote: >>> >>>> I'm trying to configure AjaXplorer,by Igor Sysoev - Nginx Mailing List - English
On Feb 17, 2011, at 21:47 , Maxim Khitrov wrote: > On Thu, Feb 17, 2011 at 12:05 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: >> Hello! >> >> On Thu, Feb 17, 2011 at 09:48:24AM -0500, Maxim Khitrov wrote: >> >>> I'm trying to configure AjaXplorer, a PHP/Ajax file manager, to work >>> behind nginx 0.8.54 on FreeBSD 7.3. The problem I'm running iby Igor Sysoev - Nginx Mailing List - English
On 17.02.2011, at 18:08, whiskybar wrote: > Thank you all. Your solutions seem quite elegant. > > Just a note, I was hoping for something I can do inside the server > only > declaration, just like I can do with the opposite redirection > mysite.com > --> www.mysite.com: > > > server { > server_name www.mysite.com mysite.com; > > if ($host !~* wby Igor Sysoev - Nginx Mailing List - English
On 17.02.2011, at 16:58, Alex Vorona wrote: > 17.02.2011 15:36, Igor Sysoev wrote: >> On 17.02.2011, at 16:16, bas wrote: >> >>> Я немного неправильно написал изначально. >>> >>> Имеем: >>> Сайт - name.domain.ru (server_name name.domain.ru;) >>> Апстрим: >>> upstream name { >by Igor Sysoev - Nginx Mailing List - Russian
On Thu, Feb 17, 2011 at 08:16:39AM -0500, Amanager wrote: > Hello, > > I try to set up a simple alias louse find out how. I read many articles. > I almost try everything but nothing works. Currently I have this code in > the file /etc/nginx/sites-available/default. > > server { > listen 80; > root /var/www/monsite.fr; > index index.html indby Igor Sysoev - Nginx Mailing List - English
On 17.02.2011, at 16:16, bas wrote: > Я немного неправильно написал изначально. > > Имеем: > Сайт - name.domain.ru (server_name name.domain.ru;) > Апстрим: > upstream name { > server unix:/path/to/socket; > } > Проксирование: > ... > proxy_pass http://name > proxy_set_header Host $http_host; >by Igor Sysoev - Nginx Mailing List - Russian
On 17.02.2011, at 15:22, Maxim Dounin wrote: > Hello! > > On Thu, Feb 17, 2011 at 02:57:40PM +0300, Igor Sysoev wrote: > >> On 17.02.2011, at 11:22, bas wrote: >> >>> Добрый день, столкнулся с похожей проблемой на nginx/0.8.54: >>> nginx вырезает из $host имя upstream'a при proxy_pass http://upstreamnby Igor Sysoev - Nginx Mailing List - Russian
On 17.02.2011, at 11:22, bas wrote: > Добрый день, столкнулся с похожей проблемой на nginx/0.8.54: > nginx вырезает из $host имя upstream'a при proxy_pass http://upstreamname.site.ru Как именно вырезает ? -- Игорь Сысоев http://sysoev.ru _______________________________________________ nginx-ru mailing lby Igor Sysoev - Nginx Mailing List - Russian
On 16.02.2011, at 17:23, Indo Php wrote: > I'm using proxy_store. It's works perfectly. Until now, we're > fetching a HTML page. > > The error that I got is, the HTML which is fetched, shows me > β8DÇ!üÎÁ > {Â}1ëÚ'w§»[4¢¥ÑMû~9ͯCE»2öÜeBß§}ùøt`A¹ > > Is there anybody knows why it's happended? It's working very well if > I'm fetchingby Igor Sysoev - Nginx Mailing List - English
On 16.02.2011, at 17:28, vvs_chaos wrote: > этот урл открывается нормально, если > запущено под апачем, если nginx - то нет УРЛ проксируется, если да, то как выглядит проксирование ? -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx-ru mailinby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Feb 16, 2011 at 08:41:14AM -0500, acaron wrote: > > I have a simple setup where I use nginx as a frontend to proxy multiple > other applications (Django, Rails, etc.), some through FastCGI, some > through use of the HTTP reverse proxy. I'm very satisfied of the > software you guys have come up with, especially after having been > tortured by Apache... > > I've reby Igor Sysoev - Nginx Mailing List - English
On 16.02.2011, at 14:18, pyromaniac - wrote: > Пофиксить - легко. Убрать амперсанд из урла, поскольку его там быть > не может по RFC. > > 16 февраля 2011 г. 14:04 пользователь vvs_chaos <nginx- > forum@nginx.us> написал: > Есть сайт, на котором есть стby Igor Sysoev - Nginx Mailing List - Russian
On Feb 15, 2011, at 11:36 , smack87 wrote: > Спасибо, работает. А по второму вопросу, > что почитать? http://nginx.org/en/docs/http/request_processing.html#simple_php_site_configuration -- Igor Sysoev http://sysoev.ru/en/ _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://nginx.org/mailman/listinfo/by Igor Sysoev - Nginx Mailing List - Russian
On Tue, Feb 15, 2011 at 03:05:55AM -0500, smack87 wrote: > Привет, есть такой конфиг > > worker_processes 1; > > events { > worker_connections 1024; > } > > > http { > include mime.types; > default_type application/octet-stream; > > sendfile on; > keepalive_timeout 65; > > proxyby Igor Sysoev - Nginx Mailing List - Russian
On 21.01.2011, at 19:44, yannlossouarn wrote: > Hi, > > I'd like to know whether it is possible to use Nginx as an injection > proxy (for 100% legal and professionnal use ! :) ), notably to analyse > the headers or content of a response, and perform automated changes on > either or both the headers/content of the request, or change some > parts > of a request. > >by Igor Sysoev - Nginx Mailing List - English
On Sun, Feb 13, 2011 at 09:23:21PM -0800, Teng Kuowei wrote: > > Hi, > > I am new for Nginx. I got the source files, use the commands and build them but found the error below. Anyone can help me? Thank you. > > debian:~/nginx-0.8.54# ./configure --user=nginxwww --group=nginxwww --prefix=/usr/local/webserver/nginx --with-http_stub_status_module --with-http_ssl_module --with-opeby Igor Sysoev - Nginx Mailing List - English
On Sun, Feb 13, 2011 at 04:35:10PM -0500, alexam wrote: > Класический конфиг APACHE backend NGINX frontend > Как для location ~* \.(jpeg|jpg|gif|png|css|js|pdf|txt|tar)$ > в случае 404 ошибки, > перекинуть запрос на APACHE для обработки > запроса (так как APACHE точно найдёт > картиby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Feb 12, 2011 at 11:26:08PM +0200, Roman wrote: > Здравствуйте, Nginx-ru. > > nginx/0.8.54 > php 5.3.5 FPM/FastCGI > > Друзья, никак немогу понять как передавать из скрипта php статус 404, > при ЧПУ сделаном тоже на 404. > > > > > Сайт работает на Битby Igor Sysoev - Nginx Mailing List - Russian
On Mon, Feb 14, 2011 at 01:24:43AM -0500, TomskDiver wrote: > Всем привет. Помогите решить проблему, > я уже сломал себе голову. > > Имеется веб-сервер (apache) с несколькими > вирт. хостами. Установлена система > мониторинга Nagios.\ > В конфиге аby Igor Sysoev - Nginx Mailing List - Russian
On Sat, Feb 12, 2011 at 04:00:36PM -0500, Dayo wrote: > Hi Igor. > > > Igor Sysoev Wrote: > ------------------------------------------------------- > > The nested locations are better if you > > had to use regex > > locations. Then I usually isolate regex location > > inside usual location: > > > > location /dir/ { > > location ~ ^/by Igor Sysoev - Nginx Mailing List - English
On Sat, Feb 12, 2011 at 03:47:22PM -0500, Dayo wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > If you use only locations without regexes, then > > you may not use nested > > locations. nginx uses some kind of binary tree to > > match locations, so > > > > location /set/subset/ { } > > location /set/ { } &gby Igor Sysoev - Nginx Mailing List - English
On Sat, Feb 12, 2011 at 02:33:31PM -0500, Dayo wrote: > Just noticed that in Igor's response to an earlier query of mine on a > separate issue, he took code I had shown effectively as ... > > > location /set/subset/ { > abc; > } > location /set/ { > xyz; > } > > > ... and wrote it like this in his response ... > > location /set/ { > locationby Igor Sysoev - Nginx Mailing List - English
On Sat, Feb 12, 2011 at 11:17:36AM +0800, agentzh wrote: > On Sat, Feb 12, 2011 at 7:55 AM, Naoki Hiroshima <n@h7a.org> wrote: > >> BTW, keepalive_disable directive has been introduced in 0.9.0. > >> It has "none", "msie6", "safari" options. > > > > Superb. Confirmed that worked for me. > > I wonder when it will be labeledby Igor Sysoev - Nginx Development
On Fri, Feb 11, 2011 at 03:55:57PM -0800, Naoki Hiroshima wrote: > > Please read this: > > https://bugs.webkit.org/show_bug.cgi?id=5760 > > The problem is that keepalive should be disable before Safari issues POST. > > Gee. Amazing that Apple has been failing to fix this for years long... I do not know whether Apple has fixed it current Safari. > > BTW, keepalive_by Igor Sysoev - Nginx Development
On Fri, Feb 11, 2011 at 10:43:19AM -0500, Dayo wrote: > Hi Maxim! > > Maxim Dounin Wrote: > ------------------------------------------------------- > > Hello! > > It should log something like "rewrite or internal > > redirection > > cycle" at "error" level. Obviously enough your > > config creates an > > infinite loop on proceby Igor Sysoev - Nginx Mailing List - English
On Fri, Feb 11, 2011 at 08:33:44AM -0500, Dayo wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > Standard nginx modules logs a reason of 500 error. > > I have done a plain vanilla build of v0.8.54 without any third party > modules and I both still get the same results and do not have anything > in the error log. > > Not sure wby Igor Sysoev - Nginx Mailing List - English
On Fri, Feb 11, 2011 at 07:16:22AM -0500, Dayo wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > > It seems that the index module does not work > > with the try_files > > > directive. Would have expected the trying of > > '$uri/' to include the > > > defined index but it doesn't do so. > > > > > &gby Igor Sysoev - Nginx Mailing List - English
On Fri, Feb 11, 2011 at 06:45:25AM -0500, Dayo wrote: > Just noticed an issue with my 0.8.54 installation. > > 1. URL = www.site.com, Result = 500 error > > server { > ... > index index.html; > location / { > try_files $uri $uri/; > } > } > > > 2. URL = www.site.com, Result = 500 error > > server { > ... > location / { > index inby Igor Sysoev - Nginx Mailing List - English
> > The lesser you have dependences, the lesser you > > will have maintence > > issues in future. Yes, you have to write more, but > > you see what > > how exactly this location is handled. If you ever > > need to change > > proxied server address, your favourite editor with > > find/replace > > functionality is your friend. > Thanks but I pby Igor Sysoev - Nginx Mailing List - English
On Fri, Feb 11, 2011 at 05:08:40AM -0500, Dayo wrote: > Hello all. > > I currently have my php set up as so > > > ... > location ~ \..*/.*\.php$ { > return 403; > } > location ~* ^.+\.php$ { > try_files $uri/fail @proxy; > } > location @proxy { > proxy pass etc > } > location > some-location-that-sometimes-needs-rewriting-in-apacheby Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|