Ad Widget

Collapse

Apache/2.4.29 (Ubuntu) with ZABBIX 6.0.14 HTTP Redirect to HTTPS Working!!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Charlton1
    Junior Member
    • Jun 2023
    • 2

    #1

    Apache/2.4.29 (Ubuntu) with ZABBIX 6.0.14 HTTP Redirect to HTTPS Working!!!

    Dear Forum Participants

    I put forth a lot of effort to make it work, but in the end I discovered a solution that matched my surroundings.
    In the hope of aiding someone in need, I'd want to share my research.

    Place the master key file with the KEY extension and the CA domain certificate with the CRT extension in the proper directory before altering the files.

    1-) Let's first nano the apache.conf file located in the /etc/zabbix directory.

    i) Comment out the lines below;

    IfModule mod_alias.c is used.
    # IfModule> Alias /zabbix /usr/share/zabbix

    i) Insert the lines below under "VirtualHost";

    virtual host *:80
    ......

    zabbix.myzabbixdomain.com.tr is the server name.

    /usr/share/zabbix DocumentRoot

    Redirect 301 to Zabbix at https://my.zabbixdomain.com.tr

    ------

    </VirtualHost>

    Secondly, let's nano the "000-default.conf" file located in /etc/apache2/sites-enabled.

    i) Include the lines below under​


Working...