Skip to content

Instantly share code, notes, and snippets.

Last active Feb 7, 2017
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. {
header / {
Referrer-Policy "no-referrer"
root /home/diaspora/diaspora/public
proxy / unix:/home/diaspora/diaspora/tmp/diaspora.sock {
except /assets /uploads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment