Report this

What is the reason for this report?

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

Posted on February 7, 2021

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?



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.