Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Ingress #68

Open
VivantSenior opened this issue Dec 5, 2023 · 2 comments
Open

[Question] Ingress #68

VivantSenior opened this issue Dec 5, 2023 · 2 comments
Labels
question Further information is requested

Comments

@VivantSenior
Copy link

Hello,

are there any plans to implement ingress to access web interface?

Best,
Viv

@Rbillon59
Copy link
Owner

Hey,

Sorry for the delay. I tried multiple different configuration but never achieved the usage of the ingress. The frontend is not loaded properly through the proxy and I don't clearly understand why.

If you want to do some tries, you can clone the repo in the /config/addons folder of home assistant (through the ssh term for ex) and try some modifications. (in the config.json for example).

The addon will appear as a local addon within the addon menu of hass

@Rbillon59 Rbillon59 added the question Further information is requested label Apr 9, 2024
@maxarndt
Copy link

I investigated a bit on this:

The n8n webapp is not aware of the ingress path. Once you enable ingress, our browsers try to fetch the n8n webapp assets (like javascript and stylesheets) from /assets but because of the ingress it should be something like /api/hassio_ingress/3JKDFklsjf83-S0M3randomStuff7238sdjfSDf823/assets.

I've very little experience with Homeassistant addons and Homeassistant ingress. Anyway, it looks like other addon developers include an nginx reverse proxy in their container image to make it work (see e.g. Grafana addon or node-red addon). But this adds some complexity to the project.

Seems like just adjusting the base path of n8n is currently not an option unless you build n8n on your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants