Replies: 2 comments 1 reply
-
Per the documentation for
Which means that today, only the path segment of the URI can be rewritten. Can you explain more about this use case? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
This feature is in our plan, we likely support it in the next version 1.33.
About your case, there are two ways to achieve it if we need to support. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a working nginx + php-fpm web application and now trying to migrate it to the new UNIT server. What is absolutely unclear in UNIT documentation is how to map URI path to the request in setting.json:
http://sample.org/app/var1/var2 to http://sample.org/app_script.php?a=var1&b=var2
Could somebody explain it with example? In regular nginx it done with 'rewrite'. Rewrite presented in unit too but I have no idea how to manage it for this simple task.
Beta Was this translation helpful? Give feedback.
All reactions