aaPanel_Kern Hi, nginx installed by panel does not use this file, suggest you to check nginx configuration aaP_jasonfomenky
aaPanel_Kern This is the nginx that comes with your system or you installed it yourself using the command. The nginx of the panel is not in this directory
aaP_jasonfomenky aaPanel_Kern I never installed using command, I used the panel to install everything on the server, including nginx
aaP_jasonfomenky aaPanel_Kern Result root@server:~# ls -al which nginx ls: cannot access 'which': No such file or directory ls: cannot access 'nginx': No such file or directory
aaP_jasonfomenky aaPanel_Kern Heres the output root@server:~# ls -alwhich nginx` -rwxr-xr-x 1 root root 1240136 Nov 10 07:39 /usr/sbin/nginx
aaP_jasonfomenky aaPanel_Kern Alright, thought it was from the panel, cuz it was installed by aapanel
aaPanel_Kern aaP_jasonfomenky The server first makes a snapshot backup. Then delete nginx according to your system centos: yum remove nginx debian/ubuntu: apt remove nginx
aaPanel_Kern Use the panel for installation Use commands to install by yourself, and the panel cannot be managed