As stated in nginx documentation, ~* regex is for case-insensitive matching and ~ are for case-sensitive. Your syntax is ok, but it can be rewritten without ...
確定! 回上一頁