I have a question regarding parameter after root url:
URL is : https://test/?version=12.1.0
What I want there is a parameter starting with version=numner.number.number To serve a folder under the root dir "v12.1.0"
location ~ ^\?version=v(\d+\.\d+\.\d+) {
root /var/www/test/htdocs/v$2;
}
Is that possible? I've been trying wiith try files and root, but I cannot manage to make it work. Should I use map in this situation?