Rewriting to /public directory from root with NGINX |
Hello,
I am trying to redirect request from my local root (http://localhost/blog4/; NGINX) to index.php inside /public folder, yet with no luck (the server returns error "this site does not work: localhost caused too many redirects"). The relevant fragment from nginx.conf: Code: ... Did anyone find a solution for such a redirect? Looking forward for hints. Yours, Piotrek |
Messages In This Thread |
Rewriting to /public directory from root with NGINX - by bzaurie - 11-01-2019, 04:18 AM
|