location ^~ /subdir(.*) {
return 301 $scheme://$http_host/$1$is_args$query_string;
}
Created
June 16, 2017 20:36
-
-
Save jaygilmore/a7bebe39546e42e5a334a8d720f6e109 to your computer and use it in GitHub Desktop.
Nginx Rules
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment