harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.88k stars 115 forks source link

Usage on a self-hosted server? #221

Closed GalacticHypernova closed 4 months ago

GalacticHypernova commented 5 months ago

Details

From what it seems, unlighthouse is only usable in localhost, since it attempts to access localhost:5678/api/scan-meta. Is it possible to use it on an external server? For example, imagine a web app that is running on an ubuntu server. I would like to unlighthouse it, but since I already have ownership of the server I would like to get the reports from that server. Is there a way to make unlighthouse use the correct address or is it always localhost?

YannickFuereder commented 4 months ago

if you start unlighthouse on the same server as your web app and set up a simple reverse proxy everything should be working just fine

GalacticHypernova commented 4 months ago

@YannickFuereder thanks for the reply! I already solved this, simply forgot to close, my apologies, but thanks again!