Last active
February 7, 2017 11:11
Star
You must be signed in to star a gist
Caddy configuration as diaspora* serving frontend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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