Fix nginx config dependency on upstream configuration.