-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot configure request path rewrite when creating a route using dashboard #1241
Comments
+1 for me. Hi @Caelebs , thanks for reporting and sorry for the inconvenience. I'm afraid that the problem you mentioned above is just as expected. Since 2.2, the functionalities provided by plugins need to be configured at the plugin page via lines of JSON code. The proxy-rewrite plugin is one of them. 😄 |
We tried to use form to config the plugins according to its json schema before V2.2, but nnfortunately most of the plugins couldn't be built perfectly. Refer to the issue #1039, we are still trying to find a way to use the form, which is more friendly to use. Just feel free to talk about the way you are perfer to config the plugins, and welcome the technical solutions. Thanks a lot~ |
I understand, so the current version 2.2 routing configuration related page involves plugin related functions, basically moved to the plugin configuration page, the plugin is configured in json format, which has little effect on the configuration items and the plugins with small data volume. , But the function is a little more complicated, the plug-in with more configuration items, json is not very friendly, but it is acceptable. However, some time ago I deployed three sets of code of version 2.2, which may involve the release version and the master branch code, both of which are version 2.2. However, the plugin configuration of two environments is json format, and the other environment is form configuration. In addition, there are two environments that configure the plugin in json format. One of the environments will only display the default value |
Sourced from this discussion:#1276 (comment) Since we have already filtered the For what's your opinion? |
It's ok to use this plugin outside PluginMarket, but be careful to make sure the final data is correct. |
got it, and I have a few details to confirm:
|
|
You can filter specific plugins on specific pages, as shown below. @liuxiran |
thanks for the instruction @LiteSun @juzhiyuan |
Bug report
Describe the bug
In apisix-dashboard version 2.2, is there no input box configured to request rewriting on the page? I tried the
proxy-rewrite
plugin and it is still available. The function of request rewrite is normal, but the entry of configuration request rewrite is moved to the plugin configuration page. And this configuration page is a bit cumbersome? I need to edit the plugin information in json format, which is not very friendly.Screenshots
System information
CentOS Linux release 7.6.1810 (Core)
Chrome/78.0.3904.108
The text was updated successfully, but these errors were encountered: