Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update Ubuntu 16.04 nginx install doc with a better nginx config #6836
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
Please correct me, but is v0 actually not hardcoded also?
if u need v0 / v1 just add a second location? (as example)
This named location does not works in all situation, that is why i created this MR. In addition it's actually match both rules every time and this is bad for the performance.
Thanks for your cooperation.
Yes, if you send a request (example: xxx.xxx.org/api/v0/devices) the "devices" will be passed as a parameter.
$query_string is just the last input parameter, so it will send "devices" to api_v0.php.