Hello,
We just setup Zabbix and it's working great. The only "problem" I seem to be having is, I can't for the life of me figure out how to change the default port for the dashboard from http://hoopy.frood:8080 to just plain old 80 (so, http://hoopy.frood).
To date, I've tried editing the zabbix.conf and nginx.conf and referencing the nginx docs RE: server blocks, but I apparently cannot figure out the correct configuration to change this. I'm just not sure what I'm missing. I can't seem to find much in the way of similar situations online; usually it's people trying to move from port 80 to something else, though even trying to extrapolate from that leads me to a non-working config. I've done this in the past with Apache, but nginx is new to me and I can't figure this out no matter how many times I RTFMs and trial-and-error changes.
So, I'm throwing myself upon the kindness of the community. I 100% know it's a nginx config issue, I'm hoping someone here can point me in the right direction. I'm kind of frustrated at this point.
Setup:
Zabbix = 6.4.14
Nginx = 1.20.1
OS = Rocky Linux 9.3
There is nothing else running on this server but Zabbix. Everything else is pretty much standard. Zabbix was installed per the docs on the Zabbix site for this OS/web server combo. Nginx was setup out of the box dnf. I've made no changes that weren't in the Zabbix instructions.
We just setup Zabbix and it's working great. The only "problem" I seem to be having is, I can't for the life of me figure out how to change the default port for the dashboard from http://hoopy.frood:8080 to just plain old 80 (so, http://hoopy.frood).
To date, I've tried editing the zabbix.conf and nginx.conf and referencing the nginx docs RE: server blocks, but I apparently cannot figure out the correct configuration to change this. I'm just not sure what I'm missing. I can't seem to find much in the way of similar situations online; usually it's people trying to move from port 80 to something else, though even trying to extrapolate from that leads me to a non-working config. I've done this in the past with Apache, but nginx is new to me and I can't figure this out no matter how many times I RTFMs and trial-and-error changes.
So, I'm throwing myself upon the kindness of the community. I 100% know it's a nginx config issue, I'm hoping someone here can point me in the right direction. I'm kind of frustrated at this point.
Setup:
Zabbix = 6.4.14
Nginx = 1.20.1
OS = Rocky Linux 9.3
There is nothing else running on this server but Zabbix. Everything else is pretty much standard. Zabbix was installed per the docs on the Zabbix site for this OS/web server combo. Nginx was setup out of the box dnf. I've made no changes that weren't in the Zabbix instructions.
Comment