Running Cadence-Web behind NGINX
jeffreykky opened this issue · 2 comments
jeffreykky commented
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?
jeffreykky commented
peaaceChoi commented
@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.