Skip to content

Instantly share code, notes, and snippets.

@evdenis
Created July 18, 2016 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evdenis/ab313bfbb6e48a9f7476e7abca0f9274 to your computer and use it in GitHub Desktop.
Save evdenis/ab313bfbb6e48a9f7476e7abca0f9274 to your computer and use it in GitHub Desktop.
Apache configuration for Ghost blogging platform through unix socket
<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