Hello prefect community :slightly_smiling_face: I ...
# prefect-community
s
Hello prefect community 🙂 I am curious if anyone here was able to run prefect behind nginx server.
r
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.