3 messages in ru.sysoev.nginxRe: Redirect?
FromSent OnAttachments
Ezra ZygmuntowiczOct 24, 2006 5:59 pm 
JonathanOct 24, 2006 6:04 pm 
Ezra ZygmuntowiczOct 24, 2006 6:13 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Redirect?Actions...
From:Jonathan (ngin@public.gmane.org)
Date:Oct 24, 2006 6:04:15 pm
List:ru.sysoev.nginx

On Oct 24, 2006, at 8:59 PM, Ezra Zygmuntowicz wrote:

Hi there-

What is the easiest way to setup a certain domain to do a permanent redirect in the config file? So if a request comes in to:

www.example.co.uk

and I want it to redirect to

www.example.com

i do this

-----------------------------

server { listen 80; server_name findmeon.net www.findmeon.net ; rewrite ^.*$ http://findmeon.com; }

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -