amonapp / amon

Amon is a modern server monitoring platform.
https://docs.amon.cx
GNU Affero General Public License v3.0
1.33k stars 108 forks source link

Non-standard HTTPS port #156

Open N-e-m-o opened 7 years ago

N-e-m-o commented 7 years ago

When configuring Amon on a non-standard HTTPS port it keeps connecting to port 443. Currently using commit 0cb71ebad504951378ba040a4a1a231d2fcf4fb0.

Changes were needed to the following files, the default HTTPS port is7777, in this example. /opt/amon/amon/settings.py Change: HOST = "%s:7777" % host_struct.host /opt/amon/amon.yml Change: host: https://146.185.179.87:7777 /etc/opt/amon/amon.yml Change: host: https://146.185.179.87:7777

DerDanilo commented 6 years ago

This should be possible to configure with the installer or at least the ansible script. Maybe even the "install" url that one can copy via webinterface should contain the port already.