Re: как работает proxy redirect

2013-09-08 Thread burlaka
Есть 2 сервера: frontend - wpsdm.portal.local и backend - proto4.portal.local. Надо реализовать, чтобы все запросы на https://wpsdm.portal.local/bpm1/ перенаправлялись на https://proto4.portal.local/ Соответственно я пишу в конфиге: location /bpm1/ { proxy_pass

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 ?

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

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

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 {

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 tests

[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

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

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: