Merci de ton aide.
Toute les commandes données ci-dessus me renvois ces messages :
-bash: /etc/init.d/nginx: No such file or directory
Failed to restart nginx.service: Unit nginx.service not found.
-bash: /etc/init.d/nginx: No such file or directory
Failed to restart nginx.service: Unit nginx.service not found.
pour la commande :
nginx -v; : nginx version: nginx/1.15.0
pour la commande :
nginx -t; :
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] mkdir() "/usr/local/etc/nginx/body" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
laster13 dans le fichier nginx.conf situé dans : /etc/nginx , il y a cette ligne :
events {
worker_connections 1024;
}