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

2013-09-08 Thread mex
> rewrite ^/index\.php?title=(.*)$ http://www.mysite.com/$1 redirect; this doesnt work? what is $1 then in the redirected request? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242676,242678#msg-242678 ___ nginx mailing list nginx@nginx.org

Re: drupal clean urls

2013-09-08 Thread adambot
Changing the rewrite from blog to /blog worked perfectly -- thanks for the second set of eyes :) I'm not sure on the busy-work part -- i took most of the stuff from the nginx wiki on drupal (still learning config files, been running nginx for about 24 hours now) Posted at Nginx Forum: http://for

Rewrite URL to only show value of $_GET argument

2013-09-08 Thread Andrew Martin
Hello, I have read through the nginx rewrite documentation and looked at various examples, but can't figure out how to create a rewrite rule for the following (if it is possible). I'd like to rewrite the URL of a php file with a $_GET argument and replace it with just the value of the $_GET argume

[ANN] ngx_openresty devel version 1.4.2.5 released

2013-09-08 Thread Yichun Zhang (agentzh)
Hello folks! I am happy to announce that the new development version of ngx_openresty, 1.4.2.5, is now released: http://openresty.org/#Download Special thanks go to all the contributors for making this happen! Below is the complete change log for this release, as compared to the last (devel

Re: drupal clean urls

2013-09-08 Thread Francis Daly
On Sun, Sep 08, 2013 at 02:44:08PM -0400, adambot wrote: Hi there, not tested, and I don't know what exactly drupal expects, but... > location @rewrite { > rewrite ^blog/(.*)$ blog/index.php?q=$1; That "rewrite" line is unlikely to do anything. The uri that "rewrite" te

drupal clean urls

2013-09-08 Thread adambot
Greetings I have followed all the instructions in the wiki, and when i set my drupal installations as the root, everything works, however, when i move my drupal into a folder i am able to get everything to work except clean urls. Here is my drupal config: location /blog {

[DOC] Guide to Nginx + SSL + SPDY

2013-09-08 Thread mex
hi list, i recently had to dig deeper into nginx + ssl-setup and came up with a short documentation on how to setup and run nginx as SSL-Gateway/Offload, including SPDY. beside basic configuration this guide covers HSTS-Headers, Perfect Forward Secrecy(PFS) and the latest and greatest ssl-based

Re: can i run nginx caching and http server on same box?(newbie)

2013-09-08 Thread mex
the answer is yes: http://wiki.nginx.org Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242644,242670#msg-242670 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Turn off Nginx SPDY ?

2013-09-08 Thread George
I see i believe my problem is #2 as i have another vhost with spdy enabled on same addr:port pairing ! Thanks Valentin :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242665,242668#msg-242668 ___ nginx mailing list nginx@nginx.org http://m

Re: Turn off Nginx SPDY ?

2013-09-08 Thread Valentin V. Bartenev
On Sunday 08 September 2013 15:18:06 George wrote: > I want to test non-SPDY vs SPDY performance for Nginx and I have Nginx > compiled with SPDY support and it's enabled by adding to listen directive > the spdy option as per > http://nginx.org/en/docs/http/ngx_http_spdy_module.html. > > I thought

Turn off Nginx SPDY ?

2013-09-08 Thread George
I want to test non-SPDY vs SPDY performance for Nginx and I have Nginx compiled with SPDY support and it's enabled by adding to listen directive the spdy option as per http://nginx.org/en/docs/http/ngx_http_spdy_module.html. I thought that omitting the spdy option would disable SPDY temporarily ?