View difference between Paste ID: jk5faKkU and NPi6SVrJ
SHOW: | | - or go back to the newest paste.
1-
location ~* ^/(?<myvar>[\d]+)/.+\.(jpg|jpeg|gif|png)$ {
1+
location ~* ^/([\d]+)/.+\.(jpg|jpeg|gif|png)$ {
2-
   # use variable $myvar here
2+
  alias /home/web/test/views/$1/;
3-
  alias /home/web/test/views/$myvar/;
3+