Replies: 1 comment 2 replies
-
@igonro I had to make modifications to the app and build my own docker container, essentially the changes in this PR with the base path set to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm trying to use prefect behind a proxy using Nginx.
In order to do this, I have my prefect server running with:
prefect server start --use-volume --volume-path ~/.prefect/pg_data
So I can access the Prefect UI in http://localhost:8080 correctly.
Now I have a Django website with the following Nginx configuration:
But when I access https://mywebsite.com/prefect it keeps stucked in the loading screen, because it cannot load the fonts, css and js files. It looks like it's looking for these public assets in the url https://mywebsite.com/fonts, instead of https://mywebsite.com/prefect/fonts.
Then I saw this issue:
PrefectHQ/legacy-ui#109
And tried to set a
base_url
in the.prefect/config.toml
like this:But when I run again the prefect server a message appears saying
Missing the PREFECT_SERVER__BASE_URL environment variable. Using default
. I looked at the code and I think there is a bug, so I opened this issue; but I'm not 100% sure.Beta Was this translation helpful? Give feedback.
All reactions