#browse file content (images) from a Pterodactyl server on website

1 messages · Page 1 of 1 (latest)

umbral heath
#

Hi, my team currently hosting & managing couples of server by using Pterodactyl, including Minecraft and Discord Bot.

I saw that Minecraft has a plugin called dynmap, which make us to see Minecraft map on website. And literally, they need to browse files on that server and response to the request on website.

And I have a discord bot, having a feature that will generate images and I want to put it on an embed. Discord Embeds only support image link, not attachment, so I'm plan to make the images to browse-able on my website.

For example, i have an image in /home/container/files/image-generated.png, and i want to browse it on my website: https://subdomain.mydomain.net/files/image-generated.png. Is there any way to do it?

Any non-sensitive information (e.g. coding languages, cloudflare information, etc.) can be provided, if required for this

modern flicker
#

Are these files for your domain stored on the same server/vps?

umbral heath
#

all files storaged in 1 Pterodactyl server too

modern flicker
#

You could look Into simlinks and see if you can use that to create a link between the generated image and the domain/files/image-generated