Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
48 views
by Rookie
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?

Please log in or register to answer this question.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...