Created
July 18, 2016 12:07
-
-
Save evdenis/ab313bfbb6e48a9f7476e7abca0f9274 to your computer and use it in GitHub Desktop.
Apache configuration for Ghost blogging platform through unix socket
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
<VirtualHost *:80> | |
ServerName blog.llkl.org | |
ServerAdmin admin@llkl.org | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Location /> | |
ProxyPass unix:/run/ghost/sock|http://127.0.0.1/ | |
ProxyPassReverse unix:/run/ghost/sock|http://127.0.0.1/ | |
</Location> | |
ErrorLog ${APACHE_LOG_DIR}/blog-error.log | |
CustomLog ${APACHE_LOG_DIR}/blog-access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment