Re: A bit confused...

2015-06-12 Thread Steve Holdoway
Hi, On 12/06/15 18:59, Francis Daly wrote: On Fri, Jun 12, 2015 at 01:50:15PM +1200, steve wrote: Hi there, I'm tryiong to make some sense out of this and am left a bit cold! What could cause this: Both requests are invalid - "space" may not appear in a url. Encode it as %20 and things will

Re: 2 maps for one 1 variable?

2015-04-01 Thread Steve Holdoway
leaving out the default > value in the second map. > > — > Cole You can link 2 maps together by setting the default value for the second map as the result from the first map. Unique names will be required though. Does that fit with what you're trying to do?? -- Ste

Re: disable file uploads

2015-03-24 Thread Steve Holdoway
On Tue, 2015-03-24 at 16:15 +1300, Steve Holdoway wrote: > On Mon, 2015-03-23 at 19:57 -0700, Robert Paprocki wrote: > > Sounds like you either have a vulnerable web application or hole in your > > systems security. If the root of your problem is that your having content >

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
ng to mate that with a 'simple to maintain' methodology. So, yes I'd like to do both, but without being heavy-handed on the website owners. Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa _

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
On Tue, 2015-03-24 at 00:00 +, Francis Daly wrote: > On Tue, Mar 24, 2015 at 12:47:38PM +1300, Steve Holdoway wrote: > > On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote: > > > On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: > > Hi there, >

Re: disable file uploads

2015-03-23 Thread Steve Holdoway
On Mon, 2015-03-23 at 22:52 +, Francis Daly wrote: > On Tue, Mar 24, 2015 at 09:13:50AM +1300, Steve Holdoway wrote: > > Hi there, > > > Is there any way to stop / disable random file uploads... for example, > > I'm having 'fun' with mail relay

disable file uploads

2015-03-23 Thread Steve Holdoway
Is there any way to stop / disable random file uploads... for example, I'm having 'fun' with mail relays being uploaded to the cache area of a wordpress site? Can't think of anything off the top of my head that would do it. Cheers, Steve -- Steve Holdoway

Re: How to $POST variables to php-fpm with nginx

2015-02-22 Thread Steve Holdoway
still get the same error. > > Thanks! > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/stev

Re: Intermittent 500 errors with Nginx reverse proxy for Apache PHP FPM

2015-02-11 Thread Steve Holdoway
without Nginx, there are no 500 errors, but it has more workers > active. > > > > > > > Any pointers on debugging 500 errors will be really helpful. > > > > > -- > Thanks, > N > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: G-WAN assumptions: Part of truth/lies?

2015-02-08 Thread Steve Holdoway
ng resources > on-the-fly, as G-WAN seems to be doing it. (cf. 'The (long) > story of Nginx's "wrk"' section) > - Why is wrk (in G-WAN's opinion) 'too slow under 10,000 > simultaneous connections'? (cf. &#x

Re: Need help to configure nginx-varnish-php s

2015-02-03 Thread Steve Holdoway
eam definition that connects to them all in a load balanced manner? ) I would also put as many of those fastcgi_params into an include file as possible - makes the config easier to understand. Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: NGINX Access Logs

2015-01-10 Thread Steve Holdoway
'"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; ( sorry for the wrap ) Which itemises the fields. Obviously yours is different, but it'll give you the

Re: Redirect to domain TTFB very slow

2014-12-30 Thread Steve Holdoway
On Tue, 2014-12-30 at 20:20 -0500, ASTRAPI wrote: > http://i59.tinypic.com/20jlrpv.jpg > Looks like it's server side processing problems then. -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skyp

Re: Redirect to domain TTFB very slow

2014-12-30 Thread Steve Holdoway
em often is better than both ( on a single server platform ). Temporarily using something like new relic may also help you pinpoint your bottlenecks. If I've misunderstood, then maybe it's a DNS problem? Try ensuring all domain names are set in /etc/hosts ( and maybe set them to som

Re: Serving files from a slow NFS storage

2014-12-30 Thread Steve Holdoway
e > file takes a long time. > > Thanks, > > Eran I'm a bit confused here. Are you saying that the CDN is pulling from NFS? If so, then surely the solution is under your control... deliver all this content from a single server. If the web servers never deliver it, then mount th

Re: Serving files from a slow NFS storage

2014-12-29 Thread Steve Holdoway
ill keep local copies of the remote files, so once filled, the problem should go away. There are also options to tune kernel and mount options that can help a bit. I would/do use this approach in preference to the (still too new IMO) alternatives like GlusterFS. In my experience, serving any volume o

Re: Having multiple Symfony2 apps on same domain

2014-12-28 Thread Steve Holdoway
UEST_URI" parameter, but with that the app.php generate wrong > URL without the subdirectory. > > So is their a way to achieve this configuration ? Thanks you ! > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,255806,255806#msg-255806 Try using a map

Re: too many redirects

2014-11-20 Thread Steve Holdoway
​ > > > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listi

Re: nginx centos build only supports SSLv3 and ignores ssl_protocols

2014-10-01 Thread Steve Holdoway
lem. > - i am going to generate some different certs -- mine are insane -- 4096 key, > 4096 dh, sha512 sig -- perhaps the problem lies there. although, why would > apache work and not nginx? > > will report back tomorrow. > > thanks! > > m > I find that https:

password protect site except for one page

2014-09-16 Thread Steve Holdoway
off; ... } doesn't work for /demo due to static content, etc. The only way I can think of is to directly lock the other pages rather than / thoughts? Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/stevehold

Re: urgent need help ,ssl error ;

2014-09-06 Thread Steve Holdoway
nk & Regards > Vijay kr > vk1dadh...@gmail.com > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,253088,253098#msg-253098 > > ___ > nginx mailing list > nginx@nginx.org > http://m

Re: SSL slow on nginx

2014-06-29 Thread Steve Holdoway
e server itself: for example, it takes .8s to download a 20KB woff file. Given the services that you're wanting to offer, I think you're going to need a load more grunt. hth, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steve

Re: Curious problem with PHP

2014-06-28 Thread Steve Holdoway
o this, and are you saving session data in it? There's a simple script out there called mysql_tuner.sh which will give you a quick overview of how the database resources are being used. Hopefully these will aid you in identifying the bottleneck. Steve -- Steve Holdoway BSc(Hons) MIITP http

Re: Nginx + PHP-fpm + NFS poor performance

2014-06-26 Thread Steve Holdoway
7;s view... It does to some extent depend on how NFS is set up... on a 10Gig LAN, or over the internet will make a big difference. Have you looked into whether implementing CacheFS in conjunction with NFS helps, or alternatively, a rsync ( + lsyncd ) based solution to keep local files in sync?

Re: lots of work in a location block...

2014-06-18 Thread Steve Holdoway
That's a red herring... cut/paste error. The rewrite is being processed, the result isn't being passed to the proxy server. On Wed, 2014-06-18 at 11:14 +0400, Valentin V. Bartenev wrote: > On Wednesday 18 June 2014 12:15:29 Steve Holdoway wrote: > > Hi Folks, > > >

Re: Nginx - OS Version supported

2014-06-18 Thread Steve Holdoway
> version. > > > > Thanks & Regards, > > Vishal Mestri > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com

lots of work in a location block...

2014-06-17 Thread Steve Holdoway
g off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa __

nginx +

2014-06-16 Thread Steve Holdoway
Sorry to ask this, but does using this *require* a support contract? I'm interested in the streaming stuff, but it's not worth $1300/yr to me... Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype

Re: Nginx 1.6.0 + spdy performance testing

2014-05-29 Thread Steve Holdoway
> http://serverfault.com/questions/599491/enabling-spdy-in-nginx-fails-spdycheck-org/599501#599501 > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,250485,250485#msg-250485 > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailm

Re: Unexpected SSL Behavior with Virtual Hosts

2014-05-14 Thread Steve Holdoway
_name domain1.com www.domain1.com; ssl_certificate domain1.com.crt; ssl_certificate_key domain1.com.key; return 301 http://domain1.com$request_uri; } BTW I find that combining http and https: stuff for server definitions to be muc

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread Steve Holdoway
e who can talk about what is the problem > It's on by default. You can switch it off with the --without-http_rewrite_module flag. hth, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com

Re: Caching servers in Local ISPs !!

2014-05-09 Thread Steve Holdoway
; > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Issue nginx

2014-05-05 Thread Steve Holdoway
he code being delivered to each browser is exactly the same ( ok, not necessarily true but you have to force it to be different ), so would look at the accuracy of the html / javascript on the page as a first step. Try a basic hello world page and see if that is

Re: Wordpress Multi-Site Converting Apache to Nginx

2014-04-30 Thread Steve Holdoway
7;t work, can you check that you've got everything connected correctly by delivering a quick file to your browser? There are example configs on the net - wordpress offers one for certain, and googling for wordpress, mu and nginx deliver a plethora of howtos. Why not begin with one of them and t

Re: how to configure nginx with running apache ?

2014-04-17 Thread Steve Holdoway
Can anyone tell my what thebenefits are ( apart from .htaccess support, which I see all too often as a curse ) why anyone would do this in preference to just using a pure nginx solution? Sorry this is a bit of a hijack, but as a long time ( 1.3 on ) apache user, and nginx convert, I can't see

install on Amazon EC2

2014-03-26 Thread Steve Holdoway
Any idea when we can install the standard 1.4.7 package from the nginx repo on Amazon EC2? Error: Package: nginx-1.4.7-1.el6.ngx.x86_64 (nginx) Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin

RE: moving servers... https woes.

2014-03-25 Thread Steve Holdoway
w server forces it back > > to https > > I'm probably missing something, but why don't you just forward https to > https and http to http? > Mainly because I can't seem to get it to work - nginx, apache or iptables. I'm sure someine can come forward with tech

Re: moving servers... https woes.

2014-03-24 Thread Steve Holdoway
ure if I understand right but you may be able to do this > using maps. Something like: > > > http://redant.com.au/ruby-on-rails-devops/manage-ssl-redirection-in-nginx-using-maps-and-save-the-universe/ > > > > Lorne > > > On Mon, Mar 24, 2014 at 8:51 PM, Steve Hold

moving servers... https woes.

2014-03-24 Thread Steve Holdoway
#x27;t. Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: 403 after changing root, but permissions look correct

2014-03-23 Thread Steve Holdoway
#server { > #listen 8000; > #listen somename:8080; > #server_name somename alias another.alias; > #root html; > > #location / { > #} > #} > > > # HTTPS server > # > #server { >

Re: redirect help please... this one's driving me mad!

2014-03-21 Thread Steve Holdoway
ttp://nginx.org/en/docs/http/converting_rewrite_rules.html > > another useful link with great commenting: > https://blog.engineyard.com/2011/useful-rewrites-for-nginx/ > > -Payam > > On 2014-03-20, 9:44 PM, Steve Holdoway wrote: > > I'm tryiing to migrate a site that

redirect help please... this one's driving me mad!

2014-03-20 Thread Steve Holdoway
Any suggestions gratefully received - I can't get my head around the params from the condition and those from the rule and how to do this in nginx! Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype

Re: increasing open files limit

2014-03-16 Thread Steve Holdoway
trying to set rlimit_nofile to 8 million is never going to work! I suggest 800k should be plenty. Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa __

logical variables

2014-03-13 Thread Steve Holdoway
If I pass a variable, set to true via a fastcgi_param, does it arrive as a logical or string value? If it's a string, is there a way to pass as a logical true/false? Cheers, Steve ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

Re: Guide on switching from distro-provided nginx to nginx built from source?

2014-03-13 Thread Steve Holdoway
p the debug info. It's way more important to do this if using the aforementioned extension, as IIRC the end result is over 100MB. hth, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Some Issues with Configuration

2014-03-05 Thread Steve Holdoway
.php$ { fastcgi_split_path_info ^(/journalism)(/.*)$; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass backend; } That should approximately do it - depending on the contents of /etc/

1.5.10 doesn't like curl -I

2014-02-16 Thread Steve Holdoway
11f0 error:0 added. I've reverted to the stock 1.4.5 for the minute, but would like guidance as to where to look for the problem. Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in

security risks... ( a bit OT )

2014-02-11 Thread Steve Holdoway
re! Thanks for your forbearance in advance! Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Path components interpretation by nginx.

2014-02-11 Thread Steve Holdoway
meter. > > > Shouldn't nginx interpret arg=quux as an argument and not part of the > URI in order to fully support the RFC in question? > > > Thank you, > appa > > ___ > nginx mailing list > nginx@nginx.or

Re: missing /etc/nginx/sites-available

2014-02-10 Thread Steve Holdoway
usr/include/openssl \ --with-md5=/usr/include/openssl \ --add-module=../ngx_pagespeed-1.7.30.3-beta \ '--with-cc-opt=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ' --8<-- hth,

Re: nginx-1.5.10

2014-02-04 Thread Steve Holdoway
ts "getsockopt(TCP_FASTOPEN) ... failed" appeared in logs >during binary upgrade on Linux; the bug had appeared in 1.5.8. >Thanks to Piotr Sikora. > > Great to hear about the new speedy stuff. I take it it's not getting backported into 1.4, so when's

Re: fastcgi_cache_path empty

2014-01-16 Thread Steve Holdoway
fastcgi_cache_use_stale updating error timeout > invalid_header http_500; > > } > > I chowned /var/cache/nginx to www-data user (and group) and > chmodded it to 775. > > I restarted nginx but the folder is always empty. Is it > normal? How can

Re: problems setting ttl on single image...

2013-12-29 Thread Steve Holdoway
> > > > The "location =" syntax does not use regular expressions. You may also > want to surround the string with quotes if it contains spaces rather > than escaping spaces. > Yup, that fixed it thanks! Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.g

problems setting ttl on single image...

2013-12-29 Thread Steve Holdoway
s not setting a 10 minute expiry - the webpagetest report should pick up on it??? I'm sort of expecting that it may have something to do with the space in the URL? Any pointers gratefully received (: Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http:/

Re: redirect url in nginx

2013-11-27 Thread Steve Holdoway
> > rewrite ^/(.*) > http://almelle.atmserv.pl/index.php?cat=poczatek permanent; > > > > } > > > > } > > > > Please, help me… > > > > Thanks… > > > > > > Marcin Kasiński > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

RE: Need to compare client certificate CN with an entry in /etc/hosts

2013-11-26 Thread Steve Holdoway
_ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx > > _______ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Hol

Re: Webdav & chunk encoding : error code 500

2013-10-29 Thread Steve Holdoway
mkdir -p /data/ram/864/.tmp ?? smain...@free.fr wrote: >Hello, > >We're trying to use an appliance with the Nginx Webdav server. >It is a streaming encoding plateform which is trying to send chunks. > >But for each chunks, we got a 500 error. > >We noticed the following error logs : >2013/10/25

Re: Quick performance deterioration when No. of clients increases

2013-10-19 Thread Steve Holdoway
This is a slight oversimplification as processes in waitio are also adding to the load average. Use of programs like top, iotop, mytop etc will give you a clearer idea of what is going on, and where your bottleneck lies. Steve Jan-Philip Gehrcke wrote: >Hi Nikolaos, > >just a small follow-up

Re: Quick performance deterioration when No. of clients increases

2013-10-11 Thread Steve Holdoway
The ultimate bottleneck in any setup like this is usually raw cpu power. A single virtual core doesn't look like it'll hack it. You've got 35 php processes serving 250 users, and I think it's just spread a bit thin. Apart from adding cores, there are 2 things I'd suggest looking at - are yo

Re: How to ensure good performance for the first X number of visitors

2013-10-08 Thread Steve Holdoway
On 08/10/13 21:35, Andrew Galdes wrote: Hi all, I'm looking for some guidance with Nginx. We have inherited a web-server that experiences heavy load. The server is running: Ubuntu Server 12.4, 24 Cores, 50~GB RAM. The CPU usage during peak time is 100%. Memory is about 50%. The client has a

Re: Solving a 500 error

2013-10-01 Thread Steve Holdoway
t; > Ian To reiterate what Jonathan said... you have nginx and system logs. Next time you get the error, how about just tailing the last 50 lines from all logs that have changed? Also have you gone over the basics: disks full, out of inodes, enough open files, etc. Steve -- Steve

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

2013-09-26 Thread Steve Holdoway
du > 94-20 Guy R. Brewer Blvd. > Academic Core - STE 1H14 > Jamaica, NY 11451 > > http://www.york.cuny.edu/etyrer > ety...@york.cuny.edu > > (P) 718-262-2466 > (C) 347-393-6507 > > I have no special talent. I am only passionately curious. - Albert &

Re: Declare a block so as to be shared between locations

2013-09-26 Thread Steve Holdoway
On 26/09/13 19:20, Maurizio De Santis wrote: I have two locations, /a and /b . Both of them share these directives expires max; add_header Cache-Control public; add_header ETag ""; break; and location /b to has gzip_static on too. Is there a way to write this without writing tw

Re: Rewrite URL to only show value of $_GET argument

2013-09-19 Thread Steve Holdoway
rewrite ^/index\.php?title=(.*)$ http://www.mysite.com/$1 redirect; > > > > Can anyone provide inside into how to correctly rewrite this type of > URL? > > > Thanks, > > > Andrew > _______ > nginx mailing list &g

Re: SSL certificate chain

2013-09-01 Thread Steve Holdoway
Make sure the server cert it first in the file, followed by the ca certs. Steve On 1/09/2013, at 11:11 PM, Daniel Lundqvist wrote: > Hi, > > I am trying to configure nginx 1.4.1 (using OpenSSL 1.0.1e) with a PEM > encoded certificate file that contains the whole chain, 3 including Root CA. >

Re: multiple nginx

2013-08-18 Thread Steve Holdoway
d a separate startup script. You cannot share port/ip address pairs though. hth, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: trouble building nginx from dotdeb

2013-08-18 Thread Steve Holdoway
Use the official instructions from https://github.com/pagespeed/ngx_pagespeed and you'll have no problems. Well, I haven't upgraded from 1.4.1 yet, but that works fine. Steve On 18/08/13 19:46, ovidiu wrote: I'm trying to follow this tutorial: http://www.howtoforge.com/using-ngx_pagespeed-wit

Re: NGINX serving data via NFS mount

2013-08-12 Thread Steve Holdoway
It makes no difference what file system the file is on. You just need to ensure that the files are accessible, so take care with uid/gid used to mount, as well as file ownership. Standard entries in /etc/exports work from what I remember. You will have a performance hit to contend with. I usua

Re: Why Nginx Doesn't Implement FastCGI Multiplexing?

2013-07-19 Thread Steve Holdoway
re I > could to start it would be great. Sure thing anything I produce would be > available for merging with main Nginx sources. > This career cynic - sorry sysadmin - looks forward to this fabled doubling in performance... -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz

Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread Steve Holdoway
t; 20MB/sec. Could you please guide me a bit about the Max speed of SATA > read? > > > Thanks for prompt reply. > > > > On Tue, Jul 16, 2013 at 10:06 AM, Steve Holdoway > wrote: > Your disk maxes out at 20MB/sec read? > > On Tue, 201

Re: Nginx worker processors D state and high I/O utilization !!

2013-07-15 Thread Steve Holdoway
t; #aio on; > > # directio 512k; > > ignore_invalid_headers on; > client_header_timeout 3m; > client_body_timeout 3m; > send_timeout 3m; > keepalive_timeout 0; > reset_timedout_connection on; > } > > > We've al

Re: Nginx + Uwsgi Error: unknown directive "uwsgi_pass"

2013-06-24 Thread Steve Holdoway
} > } > > > > > -- > Josh Haimson > Massachusetts Institute of Technology 2016 > Departments of Computer Science and Biology > jhaim...@mit.edu | 516.640.6221 > ___ > nginx m

Re: Re[2]: auth_basic 500 Internal Server Error

2013-06-24 Thread Steve Holdoway
ermissions of file ( looks ok ), and all parent directories. www ( user and group ) doesn't have access to one of them. You only showed permissions of ./authpw. Can you confirm you were in /usr/local/etc/nginx at the time? Steve -- Steve Holdoway BSc(Hons) MNZCS http://www.gr

Re: Accessing PHP-FPM's Status Page

2013-06-20 Thread Steve Holdoway
t; - as opposed to using > "=". Same problems. > > > I also tried toggling fastcgi_intercept_errors to see if that did > anything. > > > > May I ask to see your fastcgi_params file? > > > > On Thu, Jun 20, 2013 at 10:41 PM, Steve Holdoway > wrote:

Re: Accessing PHP-FPM's Status Page

2013-06-20 Thread Steve Holdoway
ons on getting this working! For me, location ~ ^/(status|ping|apc_info.php)$ { include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_pass backend; allow 127.0.0.1; deny all; } with pm.status_path = /status in the pool definition wor

try_files question... or alternative?

2013-06-17 Thread Steve Holdoway
://www.example.com/sub/index.php etc... Cheers, Steve -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: munin plugin for nginx

2013-06-16 Thread Steve Holdoway
inx/conf.d/stub, or /etc/nginx/sites-available/stub, symlinked to ../sites-enabled/stub depending on preference ) and restart nginx. Then test this bit works... $ wget -O - http://localhost/nginx_status 2> /dev/null Active connections: 1 server accepts handled requests 67892 67892 70215 Re

Re: Hosting multiple domains

2013-06-15 Thread Steve Holdoway
precedence in the listen 80 / listen ip:80 statements which might be causing the problem. Steve -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need to add expires header conditionally based on mime types

2013-06-13 Thread Steve Holdoway
_______ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx > > > > > -- > Silver > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx permission denied for tmp directory (with correct user)

2013-06-03 Thread Steve Holdoway
when temp storage is needed for the fastcgi php access, so it may be worth increasing those resources too. hth, Steve -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz Linkedin: http://www.linkedin.com/in/steveholdoway Skype: sholdowa __

Re: fastcgi_read_timeout with PHP backend

2013-05-26 Thread Steve Holdoway
gi_reload_timeout works (if I understood it properly), if I > properly disabled PHP buffering for my example case and how eventually > to control those timeouts. > > I'd like to address the central problem here, not closing my eyes on > it. > > > --- > B. R. >

Re: fastcgi_read_timeout with PHP backend

2013-05-26 Thread Steve Holdoway
. How can I > get read of it in a scalable fashion (ie no fastcgi_read_time = > 999) ? > --- > B. R. > > > > > On Sun, May 26, 2013 at 9:46 PM, Steve Holdoway > wrote: > Write a script that lists the remote files, then checks for > the >

Re: fastcgi_read_timeout with PHP backend

2013-05-26 Thread Steve Holdoway
t; about the 'fastcgi_read_timeout' directive)? > > Have you any intel/piece of advice on hte matter? > > Thanks, > > --- > B. R. > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MNZCS http://www.greengecko.co.nz MSN: st...@greengecko.co.nz Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxying based on protocol (e.g. "ws"/"wss")?

2013-05-09 Thread Steve Holdoway
> >Thanks, > >Dan > > > >-- > >Daniel T. Griscom gris...@suitable.com > >Suitable Systems http://www.suitable.com/ > >1 Centre Street, Suite 204(781) 665-0053 > >Wakefield, MA 01880-2400 > > > >___

Re: Converting subdomain to path component without redirect ?

2013-05-05 Thread Steve Holdoway
e > "limit_except" block in /etc/nginx/nginx.conf:121 > nginx: configuration file /etc/nginx/nginx.conf test failed ...so take it out of the named location?? Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa ___

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-03 Thread Steve Holdoway
x27; => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) > Gecko/20100101 Firefox/20.0', > 'HTTP_ACCEPT' => > 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', > 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', > 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', > 'HTTP_CONNECTION' => 'keep-alive', > 'HTTP_CACHE_CONTROL' => 'max-age=0', > 'PHP_SELF' => '/test.php', > 'REQUEST_TIME' => 1367630910, > ) > -- > > What did I miss? > > Sincerely yours, > > > -- Zakaria > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,238825,238825#msg-238825 > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Why does nginx work at the server IP address only with default root location?

2013-04-21 Thread Steve Holdoway
At a guess, /var or /var/www isn't readable by www-data Steve On 22/04/2013, at 7:50 AM, "Paul N. Pace" wrote: > I have set up a server on Rackspace using Ubuntu 12.04 and the nginx stable > PPA. > > Using the default root location of /usr/share/nginx/html the > index.html file is displayed w

Re: How to use nginx as loadbalancer for different webserver?

2013-04-20 Thread Steve Holdoway
.anyway.com anyway.com; > location / { > proxy_pass http://loadbalancer2; > } > } > } > > But if I try to get www.anyway.com it didn't work and I got a request > timeout. Could somebody please tell me, what's wrong with my configuration? > >

auth_basic and file uploads.

2013-04-10 Thread Steve Holdoway
le entries in a limit_except POST block, then I can't log in, wcwn though it them works perfectly if I'm already logged in! Any pointers?? Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa smime.p7s Descr

upstream load balancing.

2013-04-03 Thread Steve Holdoway
rst 2 are below 5. This is causing serious performance issues. How on earth can we force a more even loading? Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa smime.p7s Description: S/MIME cryptogr

Re: jpeg image quality is bad

2013-03-28 Thread Steve Holdoway
oxy_buffering on; > } > > > } > > > server { > listen 80; > server_name ~.*; > location / { > access_log off; > return 503; > } > } > } > > > Thanks a lot! > > > -Praveen > ____

Re: Need to proxypass to different servers.

2013-03-20 Thread Steve Holdoway
e getting the index page only. > > So can you please guys help us on it. > > Thanks > > Geo > http://forum.nginx.org/read.php?2,237520 > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,237520,237615#msg-237615 location ^~ /cms { } ?? -- Steve

Re: Too Many Redirects - CDN Rewrite Rule

2013-03-20 Thread Steve Holdoway
_log off; > } > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,237609,237609#msg-237609 > That should work ok. Are you sure your cdn isn't using the same ruleset? Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Sk

Re: how work ip_hash and weight in nginx 1.2.7

2013-03-08 Thread Steve Holdoway
On 09/03/13 16:51, moke110007 wrote: Nobody reply. Tested,iphash and weight,support balance. Over. Last time I used it, weight wasn't supported on iphash so I just used multiple entries to weight instead. Steve ___ nginx mailing list nginx@nginx.o

Re: nginx for images (apache for pages)

2013-03-07 Thread Steve Holdoway
apache up as a proxy server for dynamic html behind the nginx server. (Or do like I do, and drop apache completely (: ). Cheers, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa smime.p7s Description: S/MIME cryptographic signature _

Re: Convert Apache rewrite to NGinx

2013-03-03 Thread Steve Holdoway
Why not just use the wp config examples in the docs? Both Wordpress and nginx offer them. Steve On 4/03/2013, at 7:38 AM, GASPARD kévin wrote: > Thanks for your reply. > >> On Sun, Mar 03, 2013 at 01:52:48PM +0100, GASPARD kévin wrote: >> >> Hi there, >> >>> Using nginx 1.2.1 on Debian Whe

Re: Using Nginx auth in PHP scripts

2013-02-26 Thread Steve Holdoway
d the username in a > Nginx variable? > From what I understand everything is processed internally. > > > --- > B. R. > > > On Tue, Feb 26, 2013 at 4:15 PM, Steve Holdoway > wrote: > You can pass environment vars to PHP no problem... >

Re: Using Nginx auth in PHP scripts

2013-02-26 Thread Steve Holdoway
elcom him with his/her > username. > > > Am I dreaming too much ? > --- > B. R. > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx -- Steve Holdoway BSc(Ho

Re: nginx can't run php only 'PAGE NOT FOUND'

2013-02-19 Thread Steve Holdoway
On 19/02/13 23:13, leejaycoke wrote: I'm sorry for my English... nginx has default html page it's /usr/share/nginx/html. But I changed custom new path it's /home/norrent/public_html. did you restart nginx to enable the new config? ___ nginx mailing

Re: Geo blocking, but allowing google index robot to pass-thru

2013-02-18 Thread Steve Holdoway
198.41.128.0/17 1; } You can then use your own logic with the values of $external_redirects and $whitelisted to control redirections. hth, Steve -- Steve Holdoway BSc(Hons) MIITP http://www.greengecko.co.nz Skype: sholdowa smime.p7s Description: S/MIME cryptographic sig

  1   2   >