How to put the Forums in a directory instead of homepage
@whimpers It seems the
rootline is missing.
But what should the root be
Juan G. last edited by Juan G.
The folder where your
index.htmlfile is located. It often starts with
/var/www/...Some people use
/srv/mydomain/wwwor other places.
Still getting the same error
There is another possible problem:
try_files $uri.html $uri/ /index.html;
It looks like this line can cause that error if
/index.htmlcan't be accessed, maybe because of permission or owner problems, if the
rootline is correct.
index.htmlis already in
index, you can try something simpler like:
try_files $uri $uri/ =404;
This will give a 404 not found until you fix the permissions problem. Try
chmod 777 index.html(from its folder) to see if this is the case. Then change the owner (probably a user sharing a group with the
www-datauser mentioned in nginx.conf) to be able to use the safer
It works! Thanks!
Glad to read that.
Awesome job @Juan-G ! Glad to see people helping each other out on the forum
This post is deleted!