mastodon icon indicating copy to clipboard operation
mastodon copied to clipboard

Add Caddyfile

Open nicheosala opened this issue 2 years ago • 4 comments

Caddy is a widely used open source web server.

This pull request adds a Caddyfile - i.e. a Caddy configuration file - to the Mastodon repository.

Searching for "mastodon caddy" on the web, you will find incorrect and/or outdated Caddyfiles.

This pull request is an attempt to provide an official, correct and safe configuration file for Caddy.

This Caddyfile was written based on the Nginx configuration file already present in the Mastodon repository.

This Caddyfile has been successfully tested using:

  • Caddy v2.6.2
  • Mastodon v3.5.3

nicheosala avatar Nov 14 '22 10:11 nicheosala

Could you format your Caddyfile using caddy fmt? It looks like the indentation is wrong.

renchap avatar Nov 14 '22 11:11 renchap

@moritzheiber As my personal Caddy expert would you like to take a look?

ineffyble avatar Nov 14 '22 13:11 ineffyble

Left a small comment, otherwise it's great. Thanks!

moritzheiber avatar Nov 15 '22 08:11 moritzheiber

@nicheosala :

Searching for "mastodon caddy" on the web, you will find incorrect and/or outdated Caddyfiles.

I have published my Caddyfile earlier 2022 in my blog: https://blog.riemann.cc/digitalisation/2022/02/09/mastodon-setup-with-docker-and-caddy/

Has anyone managed to measure the performance impact when switching from Nginx to Caddy? If there is one, we should maybe warn people as part of the Caddyfile distribution as part of Mastodon.

rriemann avatar Dec 02 '22 11:12 rriemann

What just happened? @nicheosala’s account is completely empty now.

AndrewKvalheim avatar Dec 10 '23 18:12 AndrewKvalheim

Probably they requested account deletion / content removal from GitHub per GDPR. Or just decided to wipe it manually

On Sun, Dec 10, 2023, 12:57 PM Andrew @.***> wrote:

What just happened? @nicheosala https://github.com/nicheosala’s account is completely empty now.

— Reply to this email directly, view it on GitHub https://github.com/mastodon/mastodon/pull/20645#issuecomment-1849050558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZCVYLCO7JJSI5RW2F2QDYIYAZFAVCNFSM6AAAAAAR7VVAGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZGA2TANJVHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nightpool avatar Dec 10 '23 19:12 nightpool

I decided to wipe all of my repositories from GitHub. Moving to Gitea!

nicheosala avatar Dec 12 '23 20:12 nicheosala