add script changing nginx configuration for block