Welcome! Log In Create A New Profile

Advanced

Newb question: How do i edit the config?

Posted by mineralsman 
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:

https://area51.phpbb.com/phpBB/viewtopic.php?t=49426

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: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready