Ad Widget

Collapse

Welcome to nginx! - aws ubuntu 18 zabbix 4.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Math
    Junior Member
    • Jan 2020
    • 2

    #1

    Welcome to nginx! - aws ubuntu 18 zabbix 4.4

    after full install , with I go to host I install on I'm getting with
    Welcome to nginx! - page, and not zabbix fornt

    on aws ubuntu 18 zabbix 4.4
    hope someone can help

  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Hi, at least in Zabbix+Apache installations the Zabbix portal is found in path /zabbix/ (like http://example.com/zabbix/), so did you try appending that in the URL?

    Markku

    Comment

    • Math
      Junior Member
      • Jan 2020
      • 2

      #3
      cool, thanks, but I'm looking to run with ngnix , hope someone can help me

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #4
        Ok, since there are no better ideas shown yet, and you didn't tell which instructions you followed, did you restart nginx after installing Zabbix server, as told in https://www.zabbix.com/download?zabb...mysql&ws=nginx step f?

        Markku

        Comment

        • Rewerson
          Junior Member
          • Jan 2020
          • 2

          #5
          Just faced the same behaviour in 5.0aplha1.
          Seems like it's needed to comment this string:
          Code:
          include /etc/nginx/sites-enabled/*;
          in /etc/nginx/nginx.conf and restart nginx.

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            This is probably because the file (symbolic link) called /etc/nginx/sites-enabled/default has a setting when it is accessed on port 80. There may be multiple site settings under the /etc/nginx/sites-enabled directory, so I think you only need to delete the files that are causing this problem.

            Code:
            $ sudo rm /etc/nginx/sites-enabled/default
            $ sudo systemctl restart nginx
            /etc/nginx/sites-enabled/default is a symbolic link, and the substance of the file is in /etc/nginx/sites-available/default, so if you want to restore it, you can create a symbolic link again.

            Code:
            $ sudo ln -s /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default

            Comment

            • Rewerson
              Junior Member
              • Jan 2020
              • 2

              #7
              Yes, my method only usable in case of usage only Zabbix on the server.
              The question is in setup instructions on the site. With default setup default_server overwrites zabbix.conf, need to fix this or mention in the instruction.

              Comment

              • stanquinn
                Junior Member
                • Feb 2020
                • 3

                #8
                I got the Zabbix front end working with NginX...I just treated it like another website, setup the virtual host, SSL certificates and after compiling from source (download Zabbix, configure, make, etc.) I just copied over the php files from /frontends/php...make sure your database is connected (in my case MariaDB) and configured in the config file for the website....also in my case since I'm using AWS I had to open up the port for Zabbix (configured for 10051 for Server and 10050 for Agent)...if you are using a firewall (probably UFW for Ubuntu), make sure to open up the ports there...

                Comment

                Working...