Hi, Found it,
if ($page == 'index.php') {
header("Location: ". $toUrl);
probably need something like this
<?php
// 301 Moved Permanently
header("Location: ",TRUE,301);
thanks
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,286700,286708#msg-286708
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx
