Skip to content

Instantly share code, notes, and snippets.

@outrunthewolf
Created May 1, 2014 11:53
Show Gist options
  • Save outrunthewolf/1ff524fa8108cc402c69 to your computer and use it in GitHub Desktop.
Save outrunthewolf/1ff524fa8108cc402c69 to your computer and use it in GitHub Desktop.
nginx return
location ^/index.php {
return 301 $scheme://$host$request_uri;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment