I see a few issues with the article on setting up phpBB. There will be problems (suffering these problems myself at the moment) because of the laziness of many authors who simply assumes a lot on the part of their readers.
So, first of all, make sure the version of Nginx you installed has the URL rewrite capability. Use the command "nginx -V" (use 'sudo' if necessary) to get an output of the compile configuration statement.
See: http://nginx.org/en/docs/ngx_core_module.html#load_module
It seems as of Nginx 1.9, one can use the 'load_module' directive to engage the rewrite module -- assuming it is in Nginx's modules folders (several folders are used).
The question is, where to get the modules? See:
https://www.nginx.com/blog/nginx-dynamic-modules-how-they-work/
Part 3:32 seems to imply one still needs to do some compile work. I don't know. This is where I am stuck.
Anyway, the phpBB config script seems to be missing a 'location' for @rewriteapp. We will need to explore how that gets formatted.
Then, it seems this config script's 'server' is waiting for 'example.com' -- unless you have changed it to 'phpbb'. Your initial tests suggest that this is all working.
Note: Actually, I use a capability in my pfSense firewall to redirect certain web addresses to a sever in-house. But a hosts file should also work. Additionally, I strive to make the web addresses that point to my in-house server look like real web addresses. So, as a suggestion, in your hosts file, use "phpbb.rudepeople.com" to point to your server box.
Then, the phpBB config script would have:
server_name php.rudepeople.com;
Don't use the server's actual IP address because the phpBB config script isn't looking for an IP address. It wants to see the "server_name". Not having seen the designated "server_name", the default Nginx Welcome screen gets displayed.
So, first of all, make sure the version of Nginx you installed has the URL rewrite capability. Use the command "nginx -V" (use 'sudo' if necessary) to get an output of the compile configuration statement.
See: http://nginx.org/en/docs/ngx_core_module.html#load_module
It seems as of Nginx 1.9, one can use the 'load_module' directive to engage the rewrite module -- assuming it is in Nginx's modules folders (several folders are used).
The question is, where to get the modules? See:
https://www.nginx.com/blog/nginx-dynamic-modules-how-they-work/
Part 3:32 seems to imply one still needs to do some compile work. I don't know. This is where I am stuck.
Anyway, the phpBB config script seems to be missing a 'location' for @rewriteapp. We will need to explore how that gets formatted.
Then, it seems this config script's 'server' is waiting for 'example.com' -- unless you have changed it to 'phpbb'. Your initial tests suggest that this is all working.
Note: Actually, I use a capability in my pfSense firewall to redirect certain web addresses to a sever in-house. But a hosts file should also work. Additionally, I strive to make the web addresses that point to my in-house server look like real web addresses. So, as a suggestion, in your hosts file, use "phpbb.rudepeople.com" to point to your server box.
Then, the phpBB config script would have:
server_name php.rudepeople.com;
Don't use the server's actual IP address because the phpBB config script isn't looking for an IP address. It wants to see the "server_name". Not having seen the designated "server_name", the default Nginx Welcome screen gets displayed.