Show all posts by user
Introduce yourselves
Mathew Davies wrote:
> Hi,
>
> Is there a way to specify a global PHP location rule? As you can see
> below, the PHP block is repeated which is no good.
Best as I can tell from
http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_pass, that's they way
it is.
fastcgi_pass
syntax: fastcgi_pass fastcgi-server
default: none
context: location, if in loca
by
Jim Ohlstein
-
Nginx Mailing List - English
> ./configure --conf-path=PATH
> does not work
I'm sure it will help if you tell Igor what version you are running,
what platform you are running it on, what other configure options you
used, and what exactly happens.
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, May 03, 2009 at 03:15:33AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sun, May 03, 2009 at 02:05:57AM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>> Igor Sysoev wrote:
>>>>
>>>>
>>>>> On Sun, May 03, 200
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, May 03, 2009 at 02:05:57AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sun, May 03, 2009 at 01:18:30AM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>> Igor Sysoev wrote:
>>>>
>>>>
>>>>> On Sat, May 02, 200
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sun, May 03, 2009 at 01:18:30AM -0400, Jim Ohlstein wrote:
>
>
>> Igor Sysoev wrote:
>>
>>> On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote:
>>>
>>>
>>>
>>>> Correction:
>>>>
>>>> The question should read:
>>>>
>>>>
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev wrote:
> On Sat, May 02, 2009 at 11:16:47PM -0400, Jim Ohlstein wrote:
>
>
>> Correction:
>>
>> The question should read:
>>
>> Do I need to use two fastcgi_cache_key settings if a site serves both http and https?
>>
>
> If you use the same backend - no:
>
> server {
> listen 80;
>
by
Jim Ohlstein
-
Nginx Mailing List - English
Correction:
The question should read:
Do I need to use two fastcgi_cache_key settings if a site serves both http and https?
by
Jim Ohlstein
-
Nginx Mailing List - English
Igor Sysoev Wrote:
-------------------------------------------------------
> On Tue, Apr 28, 2009 at 11:40:03PM -0700, Payam
> Chychi wrote:
>
> > 2009/4/28 Igor Sysoev :
> > > On Tue, Apr 28, 2009 at 07:27:00PM -0700,
> Payam Chychi wrote:
> > >
> > >> hey guys,
> > >>
> > >> So I had 3 sites configured to use cac
by
Jim Ohlstein
-
Nginx Mailing List - English
I don't think it will do you much good. A casual hacker isn't going to get through your security and a serious hacker will get the information easily enough through HTTP fingerprinting. See http://www.net-square.com/httprint/httprint_paper.html.
That said, you can turn off the version with the directive "server_tokens off".
From http://wiki.nginx.org/NginxHttpCoreModule#server_toke
by
Jim Ohlstein
-
How to...
Have you looked at http://wiki.nginx.org ?
ZhenDong,Xu wrote:
> I want to set up a enviroment with PHP5 ,nginx ,freebsd.
> Is there anybody who have the documents of that ,i need it ,thanks.
by
Jim Ohlstein
-
Nginx Mailing List - English
Can you show the config file you're using?
by
Jim Ohlstein
-
How to...
Mark Aiken Wrote:
-------------------------------------------------------
> Let me ask a more focused question, since we don't
> really need to use
> the nginx list to debate web languages.
>
> 1 - Is the nginx built-in Perl module ready for
> production use? Has
> anyone here used it in a production environment?
From http://wiki.nginx.org/NginxEmbeddedPerlModule:
by
Jim Ohlstein
-
Nginx Mailing List - English
Try using "reload". There should be no downtime with that.
If you are using the latest version (0.7.53) you can simply run:
# nginx -s reload
If you are on an earlier version, and are running as a Linux service then you can probably use
# service nginx reload
You can confirm that the master process has not been terminated but the workers all have new PID's with
# ps -
by
Jim Ohlstein
-
How to...
Are you getting email spam? Or spam posts at your site? Spambots have an
easy time finding vBulletin sites. Are you using Akismet or similar spam
blocking method? I find Akismet works very well at my vBulletin sites.
It put such posts in the moderation queue so they be can quickly deleted.
Jim
AMP Admin wrote:
> Anyone else get spam or bots go after their site after sending message
by
Jim Ohlstein
-
Nginx Mailing List - English
Nginx is an http server not an ftp server. File uploads and downloads have to be done by a web app.
by
Jim Ohlstein
-
Migration from Other Servers
The problem sorted itself out after I (just) rebooted the container.
So I am no longer having this problem. :)
Jim
Igor Sysoev wrote:
> On Tue, Apr 21, 2009 at 05:43:32PM +0000, Jim Ohlstein wrote:
>
>> I installed 0.7.52 on several Virtuozzo containers. All are running CentOS, some 32 bit and some 64. After reading your post I checked them all. One (and only one) is havin
by
Jim Ohlstein
-
Nginx Mailing List - English
Payam Chychi Wrote:
-------------------------------------------------------
> whats your start/stop script look like?
>
> thanks,
> Payam
>
I used to use the start-stop daemon but switched all servers to this as I have upgraded nginx versions:
#!/bin/sh
#
# nginx - this script starts and stops the nginx daemon
#
# chkconfig: - 85 15
# description: Nginx is a
by
Jim Ohlstein
-
Nginx Mailing List - English
I installed 0.7.52 on several Virtuozzo containers. All are running CentOS, some 32 bit and some 64. After reading your post I checked them all. One (and only one) is having a similar issue. It's a 64 bit container. All of the others are fine and all use an identical init script.
------Original Message------
From: Payam Chychi
Sender: owner-nginx@sysoev.ru
To: nginx@sysoev.ru
ReplyTo: ngin
by
Jim Ohlstein
-
Nginx Mailing List - English
Momchil Ivanov Wrote:
-------------------------------------------------------
> На Sunday 19 April 2009 02:19:03 Jim Ohlstein
> написа:
> > Momchil Ivanov Wrote:
> >
> --------------------------------------------------
> -----
> >
> > > На Saturday 18 April 2009 19:02:19 AMP
> Admin
> > >
> > > написа:
> &g
by
Jim Ohlstein
-
Nginx Mailing List - English
Momchil Ivanov Wrote:
-------------------------------------------------------
> На Saturday 18 April 2009 19:02:19 AMP Admin
> написа:
> > To apply the patch run:
> >
> > #cat patch.php-fpm | patch -d php-5.2.9 -p1
>
> you don't really need cat here:
>
> patch -d php-5.2.9 -p1 < patch.php-fpm
I believe the result is the same.
Correct
by
Jim Ohlstein
-
Nginx Mailing List - English
First, you need to download php and the patch, then apply the patch. There is a link to a working patch for php 5.2.9 in the php-fpm section of http://forum.nginx.org. At least it works for me using both 32 and 64 bit versions of CentOS 5.2.
I'm using my phone right now so I'm not sure, but if I recall correctly the file is named patch.php-fpm. Assuming it is (and change the name if it is some
by
Jim Ohlstein
-
Nginx Mailing List - English
Babysit? How often is a new version of php released and who says you need to "upgrade" if your current configuration is working? MySQL comes out with new versions much more often, as does nginx.
Sounds like you may be better off with a control panel and let it "babysit" you.
Jim
------Original Message------
From: AMP Admin
Sender: owner-nginx@sysoev.ru
To: nginx@sy
by
Jim Ohlstein
-
Nginx Mailing List - English
I haven't used the map module but the thing that strikes me is the entries that don't match all have query strings and the others do not. Try using rewrites. See http://wiki.nginx.org/NginxHttpRewriteModule.
by
Jim Ohlstein
-
Migration from Other Servers
In that blog post he added
Since this article has been published long time ago, there is MUCH better option to manage PHP FastCGI processes than the one I described below. Please check out php-fpm project from Andrei Nigmatulin which IMHO is the best possible way to manage PHP processes.
While this isn't universally agreed, I like php-fpm. It does require you to compile your own php, but it
by
Jim Ohlstein
-
Migration from Other Servers
I don't blame you. I haven't used it myself, though I have considered it for a couple of apps.
As per the wiki at http://wiki.nginx.org/NginxHttpProxyModule:
Note that when using the HTTP Proxy Module (or even when using FastCGI), the entire client request will be buffered in nginx before being passed on to the backend proxied servers.
It seems, at this time, that you're pretty well out o
by
Jim Ohlstein
-
How to...
mike Wrote:
-------------------------------------------------------
> On Wed, Apr 1, 2009 at 7:11 AM, iberkner wrote:
> >
> > I compiled php 5.2.9 with 5.2.8 patch is that an
> issue? seems to be
> > working?
> >
> > thanks
>
> Yeah I would like to know, does anyone know if
> there's going to be
> some random little bug that occurs be
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Great!
Now I hope the advice I gave you earlier works well for you. I think it will. :)
by
Jim Ohlstein
-
How to...
There's a similar expression in English I believe.
It seems that your old executable is still installed as you can see from the configuration that you posted.
Try to stop nginx, then run make install again and start nginx again. See what happens.
by
Jim Ohlstein
-
How to...
Please post the output from:
# nginx -V
by
Jim Ohlstein
-
How to...