Disable Apache2 on Zabbix server and run it on Nginx - Hammadiqbal02/Installation-of-Zabbix-on-Ubuntu- GitHub Wiki
open the Command line and add just :
👍 sudo apt install zabbix-nginx-conf
Configure PHP for Zabbix frontend
Edit file /etc/zabbix/nginx.conf uncomment and set 'listen' and 'server_name' directives.
👍 listen 80;
👍 server_name your zabbix_ip;
Disable Apache2 and stop it and then check status:
👍 systemctl stop apache2
👍 systemctl disable apache2
👍 systemctl status apach2
Start Zabbix server and agent processes
Start Zabbix server and agent processes and make it start at system boot.
👍 systemctl restart zabbix-server zabbix-agent nginx php8.1-fpm
👍 systemctl enable zabbix-server zabbix-agent nginx php8.1-fpm
👍 systemctl status zabbix-server zabbix-agent nginx