Problem solved.
Login Webuzo (yourip:2002) panel and follow these steps carefully.
1 - https://prnt.sc/fv2ou8
2- https://prnt.sc/fv2t5m
PHP Code # Oxwall
if ($uri !~ "^/index.php"){
set $rule 1$rule;
}
if ($uri ~ "(/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$"){
set $rule 2$rule;
}
if ($uri !~ "/cb7da7f27593.html"){ << note: site verification .html
set $rule 3$rule;
}
if ($uri !~ "/sitemap.xml"){ << note: sitemap .xml
set $rule 4$rule;
}
if ($uri !~ "/phpinfo.php"){ << note: phpinfo.php
set $rule 5$rule;
}
if ($uri !~ "/squirrel"){ << note: subfolder sample
set $rule 6$rule;
}
if ($rule = "654321"){
rewrite /(.*) /index.php last; << note: How many rules are? (6 now) available }
## XML Sitemap support. << Alternative sitemap.xml
location = /sitemap.xml {
try_files $uri @xmlrewrite;
}
service nginx restart
So you can define different rules on the domain you want. Thank you for reading.
|