Salut xataz,
le restart de nginx s'execute très bien comme ton autre comme, en voici le résultat:
[ ok ] Restarting nginx: nginx.
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Les logs d'erreur ne m'eclaire pas non plus et je ne sais pas trop d'ou peut venir l'erreur...
Si ca peut aider mon fichier de conf:
server {
listen 80;
server_name 4lavie.com;
return 301 https://4lavie.com$request_uri;
}
server {
listen 443 http2;
server_name 4lavie.com;
index index.php index.html;
charset utf-8;
client_max_body_size 10M;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/4L-access.log combined;
error_log /var/log/nginx/4L-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
##Debut config accueil##
location ^~ / {
root /var/www/4l;
include /etc/nginx/conf.d/php.conf;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
##Fin config accueil##
}