Bokeh plots have trouble showing up on https

I set up my streamlit app behind an nginx reverse proxy on my company’s internal network. Initially it was just over http, bu I had to implement authentication so I switched over to https.

My bokeh plots had no trouble rendering while using http connections, but on the https connection I would just get a Loading… screen followed by timeout. I am now using Altair plots and everything is working fine. I tested out matplotlib plots and they had no trouble showing up either. I wanted to see if anybody else had this issue. I tried all sorts of workarounds like clearing caches, making sure that javascript was not getting blocked etc.