P.S. Строчку fastcgi_cache_bypass $skip_cache; - менял во все направления - не помогаетby gigabyte - Nginx Mailing List - Russian
Здравствуйте уважаемые знатоки. Помогите пожалуйста Проблема в следующем: Хочу закешировать ответ от php-fpm. И точно знаю что он работал но теперь непонятно почему - не хочет работать (файлы в /tmp/nginx - папка кеша) не создаюby gigabyte - Nginx Mailing List - Russian
May be but this all started when I've updated nginx from 1.0.4 to 1.0.9 This update erased all my previous config files and I've started from beginning and stuck on this problem Edho Arief Wrote: ------------------------------------------------------- > On Fri, Jan 6, 2012 at 9:01 PM, gigabyte > <nginx-forum@nginx.us> wrote: > > the Root directory is /services/www/site/by gigabyte - Nginx Mailing List - English
the Root directory is /services/www/site/ When I login into the index.php which is located in /services/www/site/administrator nginx redirects me to index.php which is located in the root directory - /services/www/site When I manually enter site.net/administrator/index.php it opens the right file but all relative links on it (css,js, ,...etc) are being loaded from root directory (/servicesby gigabyte - Nginx Mailing List - English
No, this did not work either. nginx keeps looking for for relative files in a <root> directory, but has to do it in <root>/administrator directory Maybe some other suggestions ? Edho Arief Wrote: ------------------------------------------------------- > On Fri, Jan 6, 2012 at 7:26 PM, gigabyte > <nginx-forum@nginx.us> wrote: > > Here is my full config > >by gigabyte - Nginx Mailing List - English
Here is my full config server { set $sroot /services/www/site; listen 192.168.170.1:80; server_name site.net www.site.net; access_log /var/log/nginx/site.net.access.log main; error_log /var/log/nginx/site.net.error.log info; location = /administrator { root $sroot/administrator; } location / { root $sroot; indexby gigabyte - Nginx Mailing List - English
I've already tried meny variations including this one. In fact I'm using it right now with some modifications: location / { root $sroot; index index.php index.html index.htm; if (-e $request_filename) { break; } rewrite ^/(.+)$ /index.php?q=$1 last; } if ($host !~* ^www\.) { rewrite ^(.*)$ http://www.$host$1 permby gigabyte - Nginx Mailing List - English
I have the same problem with subdirectories. My config Is: set $sroot /usr/local/www/ location ~ \.php$ { include /usr/local/etc/nginx/fastcgi_params; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $sroot/$fastcgi_script_name ; fastcgi_param QUERY_STRING $query_string; fastcgi_pass 127.0.0.1:9000; fastcgi_intercept_errors on;by gigabyte - Nginx Mailing List - English
Обновил nginx с 0.7.Х (Х-не помню точно) до 0.8.53 Конфиги не менял, но перестал работать FLV псевдостриминг, при нажатии в плеере на перемотку клип начинается сначала nginx -V: nginx version: nginx/0.8.53 TLS SNI support disabled configure arguments: --prefix=/usr/local/etby gigabyte - Russian Forum
Здравствуйте Вопрос в следующем: Имеется 2 сервера на 1-м стоит апач и nginx (попеременно) на 2-м вебморда с флэш плеером. 2-й сервак по HTTP обращаэтся к 1-му за flv фильмами. Если на 1-м серваке запущен апач то отклик проходит грby gigabyte - Russian Forum