Last active
August 29, 2015 14:11
-
-
Save zachary-russell/f915b6334719bfb37894 to your computer and use it in GitHub Desktop.
Nginx Virtual Host HHVM w/ WordPress
This file contains hidden or 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
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