Skip to content

Instantly share code, notes, and snippets.

@anthonyterrell
Last active April 11, 2017 01:18
Show Gist options
  • Save anthonyterrell/06077f0bbbe7496ac7b190155b89018e to your computer and use it in GitHub Desktop.
Save anthonyterrell/06077f0bbbe7496ac7b190155b89018e to your computer and use it in GitHub Desktop.
NGINX configuration for Wordpress installation in Laravel public directory
# my subdirectory was /blog
# change 'blog' to reference your project sub directory
location /blog {
try_files $uri $uri/ /blog/index.php?$query_string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment