CHANGED kill old container **after** starting new container
CHANGED pass port number to nginx-pre-reload hook
ADDED server check plugin