I’m migrating a 15 year old community to discourse, and we’ve decided not to migrate the hundred thousand plus posts, rather selected ones of lasting value.
On the old board, images are saved as https://static.xxx/uploads/xxx.jpg. and we’ll keep that server alive post-migration.
When moving posts with images, it’s not grabbing and making the thumbnail, no matter whether I wrap the images in () or not. It does it for the current session but when I force-reload the page or another user looks at it, we get the broken picture icon:
The icon links directly to the picture on the static server, which is working fine. But thumbnails would be ‘nice’.
The only thing I can think of is a firewall problem - both servers are in private IP space, and the firewall prevents an internal server from accessing another via an external IP. I believe I’ve set this correctly in the host’s /etc/hosts file, but am NOT a docker expert. When I ping the static image server I get the correct internal IP address from regular command prompt. (note to self, enter the container and test from there)
Is there something else I need to do to force static.xx to be the internal IP? External images when wrapped with () are working as expected with the lightbox.