BigCapital: FIxing CORS errors 405 not alllowed

How can we implement somethign similar within NS8 for a NS8 App.
image
Above photo is from Nginx Proxy Manager

We have built a BigCapital App for NEthserver 8 Available here: geniusdynamics/ns8-bigcapital (github.com)

Everything seems to work fine, the App installs just fine, COnfigurations works fine, and we get to the login and registration pages of the App.

However, the Web-App containers, that communicated to the Server containers for the App, Has Nginx Built Into it.

When trying to register or login on the webapp, Upon inspcetion, we realised, we are getting error 405


As shown on the image below. Which points to some form of CORS errors.
image

so the Webapp is trying to communicate to the server, but there seems to be some issues.
Noting that we are using Traefik, and the webapp container has Nginx, How can we properly forward these requests within the context of NS8.

cc @davidep @mrmarkuz

1 Like

Just a guess, here is an example of a request header, maybe it helps…

I have tried that, doesn’t seem to work.