Hi,
Using NginX as a reverse proxy, I want to cache the response ONLY if the
user has NOT logged in, which can be checked by testing the existence of a
cookie.
First I tried to use "if", but NginX complained that I cannot put a
proxy_cache_valid inside an "if":
location / {
proxy_pass http://www
I would suggest using php-fpm, its very easy to setup, in fact its
integrated to recent releases of PHP (5.4++)
On Tue, May 14, 2013 at 11:46 PM, d3f3kt wrote:
> Use this command with the "-C 6" and than you should be happy
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,239181,
Use this command with the "-C 6" and than you should be happy
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,239181,239204#msg-239204
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
this is something that i do whenever this happens. and error goes away.
but it happens again. about 3-4 times a day.
is there a way to solve this permanently?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,239181,239194#msg-239194
___
nginx
On Tue, May 14, 2013 at 5:47 PM, Svoop wrote:
> Hi
>
> I'm setting a custom 404 page with:
>
> server {
> ...
> error_page 404 /errors/not-found.html;
> }
...
>
> Any idea what I'm doing wrong here?
>
> Thanks!
>
Looks like your 404s are being generated by a backend, not by nginx. You
may w
Hi
I'm setting a custom 404 page with:
server {
...
error_page 404 /errors/not-found.html;
}
And the page looks as follows:
Seite nicht gefundenDie angeforderte Seite existiert
nicht.Page non trouvéeCette page n'éxiste pas.Page Not FoundThis page does not exist.
This is what I get with "cu
On Tue, May 14, 2013 at 10:17:13AM -0400, vilsack wrote:
> Francis Daly Wrote:
> > On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote:
Hi there,
> > > location ~ [^/]\.php(/|$) {
> >
> > Just as another alternative, it is probably possible to use named captures
> > in the "location"
Oh sorry, that was my fault. I thought you are using php-fpm.
If you are using fcgi than you could use
/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f
/usr/bin/php5-cgi -P /var/run/fastcgi-php.pid -C 6
The number after -C is the amount of children.
Posted at Nginx Forum:
http
Hi,
Thanks for the help. It seems I don't have a www.conf in my nginx folder.
This might sound naive but I am not able to find www.conf file.
Upon search, I got to know that it should be in opt folder. But there is
nothing in it.
I have a nginx running on fcgi and Debian Squeeze.
Posted at Ngin
Thanks for your answer.
I don't really see the problem.
If the user also uses role-based sources (which is not the default setting
in Squeeze, didn't check in Wheezy), if he tries to get the 'stable' Nginx
package, then his system has already the 'stable' packages from the
distribution, hence he
Increase the pm.max_children, pm.start_servers, pm.min_spare_servers and
pm.max_spare_servers in the www.conf
this should help
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,239181,239182#msg-239182
___
nginx mailing list
nginx@nginx.org
http
Francis Daly Wrote:
---
> On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote:
> > Francis Daly Wrote:
>
> Hi there,
>
> > Thank you for confirm it.
> > Its nginx bug #321 http://trac.nginx.org/nginx/ticket/321
>
> Ah, good find -- I hadn't
I am getting a 502 Bad Gateway on my server after any random intervals.
If i run the following code the server starts working again:
/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f
/usr/bin/php5-cgi -P /var/run/fastcgi-php.pid
I have tried every possible way available on the
Thanks a lot Maxim. This really solved my problem. :-)
Stefan
Am 11.05.2013 22:55, schrieb Maxim Dounin:
> Hello!
>
> On Fri, May 10, 2013 at 11:13:42AM +0800, Stefan Xenon wrote:
>
>> Hi!
>> I want to use nginx as a caching proxy in front of an OCSP responder.
>> The OCSP requests are transmit
On 14 May2013, at 15:27 , David Geistert wrote:
> Hey,
> I only want to ask, when the Debian Wheezy package will be released in
> http://nginx.org/packages/debian/
http://mailman.nginx.org/pipermail/nginx/2013-May/038908.html
___
nginx mailing list
Have a look at http://nginx.org/packages/debian/pool/nginx/n/nginx/
Try squeeze files or build your own.
All needed packages for build are in the link above.
best regards
Basti
Am 14.05.2013 13:27, schrieb David Geistert:
> Hey,
> I only want to ask, when the Debian Wheezy package will be rele
Hey,
I only want to ask, when the Debian Wheezy package will be released in
http://nginx.org/packages/debian/
Best Regards
David
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi folks,
Tengine-1.4.6 (development version) has been released.
You can either checkout the source code from github:
https://github.com/alibaba/tengine or download the tar ball directly:
http://tengine.taobao.org/download/tengine-1.4.6.tar.gz
We have merged the changes from nginx-1.2.9 which fix
Hi everybody.
I'm facing a problem with my nginx 1.4.0 server bulit from portage on gentoo
(fresh instllation, amd64). After configuring one location to use
fancyindex on;
directory listing loads to footer and then connection freezes for about 1
minute. In this time no data is received, but browser
http://texturepanel.com/news_xml.php?xskqducca792zezkvdg
matt.starcrest
Matt Starcrest
===
Hold on - wait, maybe the answer's looking for you.
% _
20 matches
Mail list logo