There is no error, just I’m bit confused in building of docker image? Is there any information where I can see how to build docker image according to this requirements?
To be honest I am still not sure what you are actually trying to do, Can you share more information on what you are doing I might then be able to work out what information you need to resolve your issue.
I do have an application which is backend services is running on kubernetes and front end part is on s3 bucket. I do have cloudfront which is pointing to s3 bucket. when I should do add with default image of n8n it is not working. I need to customize default image to make it work basically I need to make sure that front end will reach the REST API of the back end
with VUE_APP_URL_BASE_API
I’m adding in cloudront as a behaviour this. So my frontend is related with backend services within one elastic loadbalancer so they should be all be under one load balancer (ALB) and make routing with path such example.com/n8n
hello @Jon,
so here’s our scenario. our backend services are running in k8s under one ALB and they are reachable via example.com/backen-service, and frontend is running in s3 bucket hosted website accessible via example.com. when i was trying to configure n8n v.1.3.1 to run in the same ALB under example.com/n8n, it is not working, its just loading the page without indicating specific errors. we also use Cloudfront for our application, s3 and backend services as a behaviors. n8n was also added, but still no luck. so the main question is how can we make our n8n to run in the same ALB under example.com/n8n path? Currently n8n runs in a separate ALB and works fine
So when the page loads what do you see? Have you also built the front end as it’s own project or are you actually referring to having workers running in queue mode and a main n8n instance?
so, i deployed n8n under ALB where other backend services are running and this is what i get when trying to access n8n with alb address. when using domain URL exampe.com/n8n it redirects me to my website right away.
these are the errors form console inspect. please note i can see n8n.io- Workflow Automation in the browser.
some of the errors:
Refused to apply style from ‘https://xxxxx.com/assets/index-6122886e.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
index-8ab146da.js:1
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec.
So I’m as well having same issue, so when I am using just domain it is working but it is not working with path. So When I use domain as example.com it does work, but when I use example.com/n8n it does not work so how can I implement that example.com/n8n in that case there is Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of “text/html”. Strict MIME type checking is enforced for module scripts per HTML spec. this error
yes, it does work with subdomain. When I use dev.example.com it is working perfectly fine. But only when I add path to domain it is not working. Is it possible solution with subdomain and path?