Hello, I can’t get Nginx started (as a reverse proxy server) as shown at step 5 of a tutorial (link 1) or in howtoforge tutorial (link 2) to install Matrix Synapse homeserver (e.g matrix.domain.com) : https://www.natrius.eu/dokuwiki/doku.php?id=digital:server:matrixsynapse https://www.howtoforge.com/tutorial/how-to-install-matrix-synapse-on-ubuntu-1804/ Attached images are a screen capture of the tutorial, that shows how configuration host file was created and modified (green zones are replacing ‘example.com‘), and a a screen capture of my terminal showing failure details results out of both these command lines : • systemctl status nginx.service • journalctl -xe Hope this is enough to allow any one here to help me findind what prevents Nginx to get started. If here is not the right place on the forum to post such help request, please redirect me. Cordially
status nginx.service outputs Configuration file /etc/nginx/nginx.conf test failed. I would examine that, what is in that configuration file and try to find in NGINX documentation how the test works and how to get more detailed info on what is wrong with that file.
I did provide a screen capture of what is in the configuration file ! I was expecting someone here to help me finding what may be wrong with it (e.g syntax, domain name, ports...).
If you stop nginx and then start it with -t parameter, do you get a better error message? Code: systemctl stop nginx.service nginx -t
Nginx now gets started or restarted fine, but does not work as a reverse proxy server as it should : https://www.howtoforge.com/community/threads/nginx-fails-to-work-as-a-reverse-proxy-sever.82605/