apache - nginx rewrite wildcard subdomain to base php file -
i trying create sub domain each user.so pointed wildcard subdomain server.my server running nginx , php-fpm.all subdomains
username.site.com/page
should rewrite to
/index.php?user=username&page=page
i new nginx please me.i found out , how apache in link how let php create subdomain automatically each user? , please explain can modify needs.i tried apache nginx rewriter , doesn't works.
Comments
Post a Comment