Hello, I have set map map $uri $fcgitimeouts { default "120s"; ~echo "900s"; ~test "900s"; } and fastcgi_read_timeout $fcgitimeouts; fastcgi_connect_timeout $fcgitimeouts; but I have got error message invalid number of arguments in "fastcgi_read_timeout" directive If I set fastcgi_read_timeout 120s; I did not have error meby photographer - Nginx Mailing List - English
Usually I have in nginx config rules which does not allow cache all XMLHttpRequest map $http_x_requested_with $nocache_01 { default 0; XMLHttpRequest 1; } Is there a way to cache only GET Ajax request? Br, Rostyslavby photographer - How to...
I mean like cookie:PHPSESSID=ove0lb88riehifbbvl58s3gbv0 If this cookie is present all pages is not cached. I know how to do not cache, but I need cache ;)by photographer - Nginx Mailing List - English
Thank you for answer. I.e. Nginx cannot store to cache a page with phpsessid cookie? If it is truth, then I need ping programmers.by photographer - Nginx Mailing List - English
How to cache phpsessid? Please, prompt me how to cache pages with phpsessid? Website set many different cookies. I can manage the page cache by them. However site send phpsessid for all user, even for user who not signed in. I would like cache page even they has phpsessid. Thanks.by photographer - Nginx Mailing List - English
Привет! Плиз, подскажите как можно кешировать phpsessid? Сайт ставит много разных кукисов, по которым я могу кешировать или нет, и также он всем ставит phpsessid, даже незалогиненым. Как не кешировать я знаю, как в кеше привязатby photographer - Nginx Mailing List - Russian
Try http://newrelic.com/by photographer - Php-fpm Mailing List - English
Try to pm = dynamic pm.max_requests = 500 pm.process_idle_timeout = 10s;by photographer - Php-fpm Mailing List - English
Hi, Could you help me write nginx config for roundcube? I have configured location as below and as result scripts path is /var/lib/roundcube/webmail/info.php should be /var/lib/roundcube/info.php How to should configure for have `fastcgi param: "SCRIPT_FILENAME: /var/lib/roundcube/info.php"` ``` location /webmail { alias /var/lib/roundcube; index index.php index.htby photographer - How to...
Hi! Please, help me. How to configure so that if this header X-Requested-With XMLHttpRequest was requested, Nginx will send answer in header Cache-Control "no-cache"? I know it is wrong, just for exsample. if ($http_x_requested_with = XMLHttpRequest) { add_header Cache-Control "no-cache"; } Best regards, Rostyslavby photographer - How to...
Could somebody help to rewrite apache rules to nginx? I nothing understands in the regexp. Thanks a lot! Apache rules: # Protect application and system files from being viewed RewriteRule ^(?:application|modules|system)\b.* index.php/$0 # Allow any files or directories that exist to be displayed directly RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Reby photographer - How to...
Получаю вот такую ошибку. FastCGI sent in stderr: "Cannot get script name, is DOCUMENT_ROOT and SCRIPT_NAME Доступ к странице 403 Тут подробнее кусок из лога http://test.stylepix.net/index.htm А тут видно ошибку http://test.stylepix.net/index.php У меня голова больше не соображает :by photographer - Nginx Mailing List - Russian