PDA

View Full Version : nginx issue


OldSchoolDSL
01-21-2012, 03:15 AM
So I'm stumped and can't figure out how to resolve my small issue.

The goal is to have my main domain name (SociallyUncensored.eu) on the same server as another domain (SociallyUncensored.com) and it's sub domain (static.sociallyuncensored.com).

I'm using the sub domain as a cookie less for my main domain, SociallyUncensored.eu which I'm using as a CDN

Added a rewrite rule so that SociallyUncensored.eu will always point to www.SociallyUncensored.eu to help with SEO rating

All seems to be working except upon trying to manually configure some of my CDN edits in vBulletin, I learned that the re-write could be a problem.

http://www.sociallyuncensored.eu/forums/static.sociallyuncensored.com/images/misc/su_logo_b.png

So oddly enough when trying to remove the rewrite rule for www. I get an endless redirect loop error.

Can anyone please take just 1 small moment of your time and please check out my simple nginx config file?