Ok, so how do I prevent that? I only want the content of example.com to be sent when example.com is given as the host in the HTTP request. Can you give examples? _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby Tiberius - Nginx Mailing List - English
I use nginx to host multiple websites, and one of them has a valid SSL certificate. I've noticed recently (from early November 2012 according to Google Webmaster Tools), that if I make an SSL connection to one of the sites which does not have a valid SSL cert, I get the content of the site that does. That is, is example.com has the SSL cert, and I host example2.com without, if I go to https://exaby Tiberius - Nginx Mailing List - English
I upgraded my Wordpress install (via svn) and now trying to access the wp-admin/ directory results in a 500 Internal Server Error, despite the fact my config hasn't changed at all. The most annoying part is that no error messages seem to have been logged by either nginx or php-fpm. The front-end of the site appears to be working, which just adds to the strangeness. I've looked at the permissionsby Tiberius - Nginx Mailing List - English
On Tue, May 29, 2012 at 9:15 AM, Evert <nginx-forum@nginx.us> wrote: > > Before: > 109.247.15.146 > > Now: > ::ffff:109.247.15.146 > > Is this... a bug? a feature? Expected behaviour? > > See "dotted-quad notation": http://en.wikipedia.org/wiki/IPv6_address#Presentation _______________________________________________ nginx mailing list nginx@nginx.orgby Tiberius - Nginx Mailing List - English
On Mon, May 28, 2012 at 5:48 PM, Edho Arief <edho@myconan.net> wrote: > Many times, ranges from incorrect file permission, incorrect service > privilege, incorrect root, incorrect alias, incorrect rewrite, > incorrect try_files, incorrect location, incorrect variable, bug, etc. > > Not sure if that helps. > All permissions look correct to me. I very much doubt it is someby Tiberius - Nginx Mailing List - English
You said you've seen the error before. What was causing it that time? Do you want me to send a copy of my config, if so, which one? You don't have to be clairvoyant; just tell me which files you need to look at. On Mon, May 28, 2012 at 5:31 PM, Edho Arief <edho@myconan.net> wrote: > On Mon, May 28, 2012 at 11:22 PM, Adrian Hayter <adrianhayter@gmail.com> > wrote: > > Seriby Tiberius - Nginx Mailing List - English
Seriously? You think I haven't tried that? My issue is that the config *works* for some sites, and then fails for another. There are no differences between the config files other than the names used. This was all working before on my other server, and all I did was copy the files across. So which part of the config do you think I need to fix? On Mon, May 28, 2012 at 5:18 PM, Edho Arief <edho@by Tiberius - Nginx Mailing List - English
Was kinda hoping for a solution...lol. On Mon, May 28, 2012 at 5:10 PM, Edho Arief <edho@myconan.net> wrote: > On Mon, May 28, 2012 at 11:07 PM, Adrian Hayter <adrianhayter@gmail.com> > wrote: > > I made sure the permissions were correct, and the nginx config file > hasn't > > changed. One bizarre thing is that a call to phpinfo() returns "File not > >by Tiberius - Nginx Mailing List - English
This is a weird one, and I'm turning to the mailing list as a last resort after searching for a few hours to no avail. Our server hosts a number of websites, each with an individual nginx config file. We recently had to replace the hdd, so I backed everything up and reinstalled on the new hardware. I got php-fpm running again and started to add back sites. Everything was working perfectly, until fby Tiberius - Nginx Mailing List - English
Sorry to jump in here, but I was led to believe that the order of blocks in the configuration file didn't matter. If it does matter, then this wiki article needs updating: http://wiki.nginx.org/HttpCoreModule#location "Note that you could define these 4 configurations in any order and the results would remain the same. " On Wed, May 9, 2012 at 2:54 PM, Edho Arief <edho@myconan.net&gby Tiberius - Nginx Mailing List - English
> > I just shared the thing that was happened with me. If error log was > informative like apache then It could be the solved earlier. > It was informative. It told you which process was actually having the error (FastCGI). Nginx should be expected to handle it's own error messages well, but if the error is in another process, it only has what that process gives back to it. ________by Tiberius - Nginx Mailing List - English
A lot of forums use it for their "archive mode". Look at vBulletin / MyBB for examples. 2012/4/3 Grégory Pakosz <gpakosz@yahoo.fr> > > >> > fastcgi_split_path_info ^(.+\.php)(/.+)$; >> > fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; >> > fastcgi_param SCRIPT_NAME $fastcgi_script_name; >> > >> >> Those areby Tiberius - Nginx Mailing List - English
Thanks. Could it be done with nested locations at all? Do I really have to include all the PHP config for each block? -Adrian On 10 Mar 2012, at 00:47, Cliff Wells wrote: > > You don't need nested locations. This should work: > > location = /css.php { > expires 30d; > add_header Pragma public; > add_header Cache-Control "public"; > include fastcgiby Tiberius - Nginx Mailing List - English
Not sure if this is the right place to post this; apologies in advance if it is! I'm having a bit of trouble with nested locations and PHP. I have a setup where I want all PHP files to go through fastcgi, and have an expiry of epoch. However, one particular PHP file is used to generate CSS stylesheets, and I want this file to have an expiry of 30 days. My current code looks like this: location ~by Tiberius - Nginx Mailing List - English