Having received the this error in Homepage ‘”Host validation failed for: 192.168.0.X:3000. Hint: Set HOMEPAGE_ALLOWED_HOSTS to allow requests from this host.” and having spent time configuring Nginx I realised that I had to whitelist the host.

What I was trying to do is forward homepage.example.xyz to my homepage lxc container.

My configuration of homepage has the environment available at:

/opt/homepage/.env

So to get it updated follow these instructions

nano /opt/homepage/.env

HOMEPAGE_ALLOWED_HOSTS=localhost:3000,192.168.1.81:3000,homepage.example.xyz

I am allowing the localhost, the local IP that it has been assigned and the reverse proxy address.

Remember and reboot.

jay662 Avatar

Published by

Categories:

Leave a comment