only run nginx once