Hey :slightly_smiling_face: I am using a reverse p...
# ask-community
m
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
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
Hi @nicholas Thanks. I’ll check it out 🙂
😄 1
l
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
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