move snippets before nginx restart