Fix nginx template, close #1