Hello prefect community 🙂 I am curious if anyone here was able to run prefect behind nginx server.
r
Ryan Peden
11/24/2022, 6:04 PM
I've seen a few people run Prefect Orion behind Nginx. In general it works without too much trouble; the main thing to watch for is that you will need to set the 'PREFECT_ORION_UI_API_URL` environment to match the Nginx URL that you need to call to load the UI. So instead of the default of "http://127.0.0.1:4200/api" you would need to set it to something like "https://my-custom-ip-or-dns-name/api".
Once you set that, running Prefect should be more or less the same as running any other HTTP service behind Nginx.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.