Skip to content

Instantly share code, notes, and snippets.

@zachary-russell
Last active August 29, 2015 14:11
Show Gist options
  • Save zachary-russell/f915b6334719bfb37894 to your computer and use it in GitHub Desktop.
Save zachary-russell/f915b6334719bfb37894 to your computer and use it in GitHub Desktop.
Nginx Virtual Host HHVM w/ WordPress
server {
listen 80;
server_name localhost; # or replace localhost with domain name
include hhvm.conf;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
root /var/www;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment