I spent a good chunk of time debugging a Panel app deployment that uses an Apache reverse proxy configuration, and finally succeeded. Unless I missed something subtle, I learned that the Panel documentation is missing key information on this topic. To spare others some of the same frustration, I’ve created an issue in the Panel repo, and I’m mentioning it here so others can find it easily when searching this forum. I won’t paste the solution here, but I’ll just mention that an Alias
block specific to Panel static resources is needed in addition to the Bokeh Alias
block.
The same issue and solution apply to GeoViews
if it’s used in the app.
Though I only tested this with Apache, I suspect the same issue and general solution applies to Nginx, too.