https://prefect.io logo
Title
o

Ondrej Melichar

09/14/2021, 7:19 AM
Hi, whats the correct way to setup https access to the UI?
k

Kevin Kho

09/14/2021, 1:58 PM
Hey @Ondrej Melichar, are you talking about Prefect server? In 0.15.5, you need to use the
--expose
flag when setting up Prefect server to allow outside connections, and then open port 443
y

Yiyang Tsui

09/14/2021, 11:08 PM
Thanks, I upgraded from 0.15.1 to 0.15.5 on a VM server today, then the browser just show connection refused. I tried to tweak the config file and change environment variables PREFECT_SERVER__BASE_URL, UI_HOST_IP ..etc. no luck… until I checked in here trying to ask..the answer is right here.
👍 1
o

Ondrej Melichar

09/15/2021, 6:53 AM
@Kevin Kho yep, i mean the prefect server. If i use the
expose
flag, where will I get/set the certificate?
k

Kevin Kho

09/15/2021, 1:59 PM
Sorry I’m confused, what certificate do you need? You just need to add the flag when you start server. This is the relevant PR