Can't get Nginx started for matrix synapse homeserver

Discussion in 'Programming/Scripts' started by Keoz, Aug 12, 2019.

  1. Keoz

    Keoz Member


    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 :

    Attached images are a screen capture of the tutorial, that shows how configuration host file was created and modified (green zones are replacing ‘‘), 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.

  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    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.
  3. Keoz

    Keoz Member

    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...).
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you stop nginx and then start it with -t parameter, do you get a better error message?
    systemctl stop nginx.service
    nginx -t 
  5. Keoz

    Keoz Member

Share This Page