Skip to content

Instantly share code, notes, and snippets.

View mikeybob's full-sized avatar
:octocat:

Mike DemonDad mikeybob

:octocat:
  • Demonlab Network
  • Edinburgh
  • 18:21 (UTC +01:00)
View GitHub Profile
@mikeybob
mikeybob / Caddyfile
Created December 16, 2024 22:29 — forked from Someguy123/Caddyfile
Example worker configs + caddy routing for Matrix Synapse server
############################
# Excerpt of /etc/caddy/Caddyfile from Privex Inc's Synapse server ( matrix.privex.io / privex.io )
# Released under X11 / MIT License
# (C) 2021 Privex Inc. - Affordable + Privacy friendly server hosting at https://www.privex.io
############################
matrix.privex.io, se1.matrix.privex.io {
root * /var/www/html
# Enable the static file server.
file_server
# We hardcode the JSON into the .well-known routes for convenience and fast responses