Skip to content

Instantly share code, notes, and snippets.

@oliof oliof/Caddyfile
Last active Feb 7, 2017

Embed
What would you like to do?
Caddy configuration as diaspora* serving frontend
# absolutely minimal configuration. "Works on my machine"
# adds no-referrer policy for some added privacy.
diaspora.example.com {
header / {
Referrer-Policy "no-referrer"
}
root /home/diaspora/diaspora/public
proxy / unix:/home/diaspora/diaspora/tmp/diaspora.sock {
transparent
except /assets /uploads
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.