Welcome! Log In Create A New Profile

Advanced

Rewrite to subdirectory

Posted by Christoforos 
Rewrite to subdirectory
August 02, 2019 02:50AM
Hello,
I am new to nginx.
I am trying to do redirect but I am not sure how.
I want to redirect all trafic to from mysite to a subdirectory under www. For example I want:
mydomain.com/*, www.mydomain.com/*
to go at:
www.mydomain/el/*

how can I make ti happen?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready