1
我在nginx上有一個應用程序。鏈接到圖像上我們的網站,我們需要做一個改寫到一個新的一個網站:在NGINX上重寫圖像
From: /static/v20/images/lorem/ipsum/square6.png
To: /static/v31/images/ipsum/example/square8.png
這是我的嘗試:
rewrite ^/static/(.*)/images/lorem/ipsum/(.*).png
/static/v31/images/ipsum/example/$2.png;
我可怎麼辦呢?
謝謝!