'auto'rewrite link to a folder
Francis Daly
francis at daoine.org
Wed Aug 13 23:44:07 UTC 2014
On Wed, Aug 13, 2014 at 10:43:24PM +0200, Pascale Camille wrote:
Hi there,
> my old vps debian6, nginx-1.2.6+php, used to work fast and perfectly
> with /etc/nginx/host.d/main.conf :
> return 301 http://~^(?<user>.+)\.2maxi\.com$request_uri;
Are you sure this used to work on the old server?
That line suggests that it will return exactly what you report it does
return.
It is not obvious to me what that line is intended to do. What happens
if you just remove it?
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list