I\'m quite new to Nginx so please bear with me.
I\'m trying to redirect all requests from one subdirectory (store) to the root of another subdirectory (trade). See
ok try something like this
location ^~ /store(.*) { return 301 $scheme://$http_host/trade$1$is_args$query_string; }
Trying to avoid hardcoded stuff as much as possible and using return because it's prefered over permanent rewrites