filter - Remove specific query parameters from URL in Nginx -
I have a URL that is similar to the following
I want to Let's remove the "Remove" and "and Invalid" argument from the Url and after deleting it should look like the following
Is it possible to implement it in NGNX?
Yes, you can use, for example, each argument is accessible by special attributes: $ Arg_jeff, $ Arg_remove:
location = /index.html {rewrite ^ http://www.example.com/index.html$is_args$arg_jeff&ass;garg_test; }
Comments
Post a Comment