Question

How to add a default index.html landing page and javascript libraries to a marketplace mastodon droplet?

I created a mastodon instance from the marketplace onto a droplet. I would like to add a landing page at the root of my domain, before having a link to take the user to the mastodon instance. Is this possible with the default configuration of a mastodon droplet?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

I just checked the Nginx configuration for the Mastodon’s Droplet and as it is proxying all of the traffic to the Mastadon instance, it will not be doable without some configuration changes.

You could either change the / locaiton of the Nginx to point to a different directory so you could upload your static files there or modify the Mastadon files instead.

Regards, Bobby