Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Mar 09, 2011 2:15 pm 
Offline
Senior Member

Joined: Sun Sep 05, 2010 8:55 pm
Posts: 97
I've perused the library, and done some searches here. Hopefully, there's a quickstart document I just missed.

I'm running a vBulletin website on Ubuntu 10.04. I've previously tweaked my mpm-worker settings, but things are getting slow again.

I've collected about four months worth of stats with awstats, and 70% of my requests are just for static content, so it seems like this would be a great solution.

However, I've been unable to dig up a quick document on how to get this to work. Any pointers?


Top
   
 Post subject:
PostPosted: Wed Mar 09, 2011 2:26 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You could switch to nginx and fastcgi (see http://library.linode.com/lemp-guides/u ... .04-lucid/)

Otherwise it's the same as that doc except when you get to the bit about fcgi you'll need to use proxy_* options instead of fastcgi_*

Simple config would be


location ~ \.php$
{
proxy_pass http://localhost:81;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

That assumes that you set apache to listen on port 81.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group