Last active
February 7, 2017 11:11
-
-
Save oliof/57345a6596bb3a564f68d1482fb383f9 to your computer and use it in GitHub Desktop.
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