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

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

python - Calculate STD manually using Groupby Pandas DataFrame -

java - @PluginTarget(Node.class) not registering as neo4j plugin -