Newb question: How do i edit the config?
November 28, 2018 11:36AM
I'm trying to install phpBB and getting a "404 not found" install error. According to a thread on the subject, I have to edit my nginx config file by adding a couple of lines. It's at the bottom of the 1st post here:

However, when I add those lines to the bottom of my nginx.conf file, I get an error on reload saying:

"2018/11/28 16:20:42 [emerg] 36155#36155: "location" directive is not allowed here in /media/sdn1/MySiteName/.nginx/nginx.conf:28"

I'm sure I'm doing something wrong. Could anyone give any advice? I just plugged the code at the end of the file. Thank you.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready