duplicate upstream “upstream_PHP_FPM” in /etc/nginx/conf.d/

Error : nginx: [emerg] duplicate upstream “upstream_PHP_FPM” in /etc/nginx/conf.d/

Cause: the same name upstream upstream_PHP_FPM is used in another config file also just change upstream_PHP_FPM to upstream_PHP_FPM1

This means that the same upstream is specified somewhere else, or you have/etc/nginx/common/upstream included several times.

You can search like this:
grep -r upstream/etc/nginx

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat