I lose my /etc/nginx/common folder and all files in the folder
and I copy my other hosts same folder and files
but still cant restart the nginx and get the error
root@localhost:/etc/nginx# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─nofile_limit.conf
Active: failed (Result: exit-code) since Wed 2024-03-13 11:15:10 CST; 9s ago
Docs:
https://nginx.org/en/docs/
Process: 62010 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Mar 13 11:15:10 localhost systemd[1]: Starting nginx - high performance web server...
Mar 13 11:15:10 localhost nginx[62010]: nginx: [emerg] no port in upstream "php" in /etc/nginx/common/php.conf:10
Mar 13 11:15:10 localhost systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Mar 13 11:15:10 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Mar 13 11:15:10 localhost systemd[1]: Failed to start nginx - high performance web server.
how can I do to fix the problem?