https://prefect.io logo
Title
o

Ofir

05/02/2023, 5:19 PM
How do I run Prefect behind nginx? I have: https://www.my-site.com/app https://www.my-site.com/prefect And I need Prefect to rewrite the URL such that all assets (e.g. css, javascript, etc.) are rewritten with the
/prefect
prefix. Otherwise users will get a blank page when visiting /prefect, because the assets won’t be pointing to the right location. Does anyone have any experience with that? Should I set
PREFECT_UI_SERVE_BASE
env var? How should the Dockerfile for the agent change?
👀 1