Nginx rewrite rules for vBulletin + vbSEO
I searched on google and I think never heard about it.
I actually have implement nginx + vbseo on the forum that I maintained. You can see them here and here
How to create a nginx rewrite rule that is working for vBulletin and vbSEO plugins?
This’s the nginx configuration that’s working for vBulletin and vbSEO
location / {
rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;if ($request_filename ~ “\.php$” ) {
rewrite ^(.*)$ /vbseo.php last;
}if (!-e $request_filename) {
rewrite ^/(.*)$ /vbseo.php last;
}}
Any comments please welcome
Moniboniz says:
February 21st, 2009 at 6:47 am
Hi people…