update config for nginx