https://prefect.io logo
Title
m

Matthias

05/29/2020, 12:39 PM
Hey 🙂 I am using a reverse proxy for accessing the UI, so my UI is accessible at
<https://domain.local/prefect>
. Is there a setting to tell the UI to load the CSS from
<https://domain.local/prefect/css>
instead of trying to get it from
<https://domain.local/css>
?
👀 1
n

nicholas

05/29/2020, 12:51 PM
Hi @Matthias - no, not without rebuilding the application. All static files in the UI are built with relative references, meaning they wouldn't work under a path. For that I'd recommend maybe using a subdomain instead, something like:
<https://prefect.domain.local>
m

Matthias

05/29/2020, 12:52 PM
Hi @nicholas Thanks. I’ll check it out 🙂
😄 1
l

Luc

06/16/2020, 8:39 AM
Hi Matthias, How did you setup a reverse proxy ? I've tried with Apache 2.4 directives but I ended up with a blank screen. Could you give me some hints please ? Thanks
m

Matthias

06/16/2020, 10:30 AM
Hi @Lux I used nginx, and unfortunately do not know anything about how to do this with Apache. There are a lot of resources on how to do this with nginx: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/
👍 1