たとえば、いくつかのURLを美しくしようとしているときに、Nginxの書き換えルールの問題に直面しています
http://subdomain.mywebsite.com:1234/someuser/temp/min/?g=home&v=049075caf8fc8193892c286889040861a8148de3
どこ、
g = <some js file> and
v = <version of file>
のようなものに、
http://subdomain.mywebsite.com:1234/someuser/temp/min/049075caf8fc8193892c286889040861a8148de3/home.js
仮想ホスト ファイル (/etc/nginx/sites-available 内の subdomain.mywebsite.com) には、次のようなエントリがあります。
rewrite ^/someuser/temp/min/([^/]*)/home.js$ /someuser/temp/min/?g=home&v=$1 last;
助けてください。