@Gargron Trying to install mastodon with docker. Container exposes http on localhost:3000 but serves a redirect to https://localhost, which is not anything. What am I missing?

@elplatt It's meant for production use behind a reverse proxy that handles SSL.

@Gargron I've got that set up. Request goes to my reverse proxy on port 443, with certificates set up. Reverse proxy makes request to http://localhost:3000, but gets redirect rather than content. Am I not doing it right?

@elplatt Look at the nginx configuration file provided in the dist directory of Mastodon

@Gargron That's what I based my config on, although I'm using apache (need it on port 80). I guess I can try nginx on a different port.

Sign in to participate in the conversation
social.coop

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!