HELP : nginx script required

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by jasmineah on April 30, 2012 at 7:21pm

I am using nginx as my webserver and i want to use it as a reverse proxy because am afraid installing varnish would waste ram. Does anyone know were i can get a good script that will enable be to achieve this. I am using a debian server, mysql and pressflow 7. I've heard of the cache warmer module but am not sure how to use it.

Comments

okay, that was a rather

Posted by jasmineah on April 30, 2012 at 9:03pm

okay, that was a rather stupid question given the links to the config files on the group homepage. Now, question is how can i install the scripts - "Idiosyncratic bleeding edge config by perusio (GitHub)" via ssh?

Hello jasmine

Posted by perusio on April 30, 2012 at 9:25pm

There's not much todo. Just clone the config using git. There are installation instructions on the README.

Thank you very much, I will

Posted by jasmineah on April 30, 2012 at 10:01pm

Thank you very much, I will have a look.

just to confirm, am i okay to

Posted by jasmineah on April 30, 2012 at 11:09pm

just to confirm, am i okay to follow the instructions even if am using virtual min to host my sites?

I think so

Posted by perusio on April 30, 2012 at 11:27pm

You'll be doing the config by hand. And then it's just another vhost to administer. I have no experience with virtualmin. For doing more advanced stuff edit by hand is the way to go.

thanks again

Posted by jasmineah on April 30, 2012 at 11:58pm

thanks again

i have tried doing the config

Posted by jasmineah on May 1, 2012 at 12:49pm

i have tried doing the config by hand and i started getting the '403 forbidden' message on my domains. any ideas how i can resolve this. I just changed the - php-fastcgi file in /etc/init.d

User rights

Posted by nlambert on May 1, 2012 at 2:55pm

Maybe your php-fpm user does not have the significant rights to your settings.php file? This happened to me... I verified owner/group of settings.php as well as the user running the php process.

Post a

Posted by perusio on May 1, 2012 at 1:56pm

debug log in a paste bin so that we can help you. Usually that error comes from permissions problems.

Btw, 'debug log' link above

Posted by Tim Jones Toronto on May 3, 2012 at 5:10pm

Btw, 'debug log' link above is incorrect (in case you hadn't worked it out jasmineah).

Here: http://www.nginx.org/en/docs/debugging_log.html

You mentioned ‘on my domains’ – are you running multi-site or with 'domain access' module at all?

What is the ‘user’ that nginx is running as?

A log file debug as perusio mentioned will be useful.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /