HELP : nginx script required

Events happening in the community are now at Drupal community events on www.drupal.org.
jasmineah's picture

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

jasmineah's picture

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

perusio's picture

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

Thank you very much, I will

jasmineah's picture

Thank you very much, I will have a look.

just to confirm, am i okay to

jasmineah's picture

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

I think so

perusio's picture

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

jasmineah's picture

thanks again

i have tried doing the config

jasmineah's picture

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

nlambert's picture

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

perusio's picture

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

Btw, 'debug log' link above

Tim Jones Toronto's picture

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: