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

Running Cadence-Web behind NGINX #440

Open
jeffreykky opened this issue Dec 1, 2021 · 2 comments
Open

Running Cadence-Web behind NGINX #440

jeffreykky opened this issue Dec 1, 2021 · 2 comments

Comments

@jeffreykky
Copy link

I'm trying to run UI through NGINX, but I could not find where to set the URL prefix.

Also I have set the UI port to 8188 instead of default 8088, I could then curl http://server:8188 but the UI failed to fetch data from API as it default fetches from "localhost:8088" e.g. http://localhost:8088/api/domains/simple-domain.

Should there be any environment variables or config files to control these?

image

@jeffreykky
Copy link
Author

Error should be started here. The "origin" variable is using default to localhost:8088 and not the TRUE origin (PMAI:8088)
image

@peaaceChoi
Copy link

@jeffreykky as I know cors value cannot set up with config.
as a trick, In an environment where you do not need to worry about CORS, it works well if you delete the variable.

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

No branches or pull requests

2 participants