Shinyproxy and auto nginx-proxy

Hi,

TLDR: Using Nginx auto proxy (with letsencrypt) and Shinypoxy (docker). Everything works fine over https but app assets don’t load correctrly over https. Help appreciated :slight_smile:

I have been playing around with using ShinyProxy (in docker) behind auto nginx-proxy (https://github.com/jwilder/nginx-proxy). Everything works fine over http but when I switch to https (with letsencrypt (https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) the shiny app assets stop loading

I’ve tried adding the proxy config recommended on the main shinyproxy site as recommended by auto nginx-proxy as a custom config but that hasn’t helped.

Any help would be appreciated as I don’t have much Nginx knowledge and have pretty much run out of ideas (with the last idea being to roll back to manually specifying the Nginx conf).

Example app: https://github.com/seabbs/personal-server/blob/master/volumes/proxy/vhost.d/apps.samabbott.co.uk)

Full nginx config: https://gist.github.com/seabbs/721d95b6950461da8624378193305665)