Re: nginx redirects all requests to root

2022-06-21 Thread _lukman_
Wow. You are the guru. Thank you very much. I moved the root out of the location block and it now works perfect. Blessings. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,294531,294538#msg-294538 ___ nginx mailing list -- nginx@nginx.org To

nginx redirects all requests to root

2022-06-20 Thread _lukman_
Hello Everyone. My first post as I am new to this forum, as well as nginx. I have an ecu instance where I host my files. I have a landing page placed in root and an admin area placed in /app folder. However, all requests somehow redirect to the root. My script is below. I dont know what I am doing