Try this:
location / {
rewrite .* http://mydomain.com:8080$uri last;
}
On Monday 10 March 2008 12:22:38 Pedro Axl wrote:
> Hi,
>
> I'm having some troubles trying to catch all anything in the subdomain
> and redirect to mydomain.com:8080.
>
> It should be simple but I try somethings but I couldn't made it work.
>
>
> Thank you
--
Denis.