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
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
There's not much todo. Just clone the config using git. There are installation instructions on the README.
Thank you very much, I will
Thank you very much, I will have a look.
just to confirm, am i okay to
just to confirm, am i okay to follow the instructions even if am using virtual min to host my sites?
I think so
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
thanks again
i have tried doing the config
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
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
debug log in a paste bin so that we can help you. Usually that error comes from permissions problems.
Btw, 'debug log' link above
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.