- location ~ /(?<file>[^/]*)/(?<file2>.*)\.html$ + location ~ ^/(?<file>[^/]*)/(?<file2>.*)\.html$ --- appa