FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Hosting on Nginx

Feed 0 posts, 1 voices

Avatar
0 posts

Hi people.
Recently I decided to switch to cheaper VPS provider. To be able to use cheapest I decided to setup everything using nginx.
Before moving production site I wanted to test if everything will work fine. So I made a virtual host test-mysite.lv and tried it out.
Everything was fine except backend – if i entered http://test-mysite.lv/admin/, browser was redirected to production backend : www.mysite.lv/admin/?/login .
Have no idea what configuration lines makes it to behave that way.

Sorry, I couldn’t get configuration to display normally on this forum (it seems pre block is not enabled), I have already posted a question on serverfault :
http://serverfault.com/questions/303769/nginx-and-frog-cms-admin-url

Thank you for your attention.
Any help is appreciated.