Bon, j'ai essayé d'installer ce plug-in en suivant ce tutoriel : https://mondedie.fr/d/5347-Plugin-Fileshare-nginx
Mais j'ai une erreur lors de service nginx restart :
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-08-09 16:32:41 CEST; 36s ago
Docs: man:nginx(8)
Process: 17084 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 17220 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 518 (code=exited, status=0/SUCCESS)
Aug 09 16:32:41 obemachine nginx[17220]: nginx: [emerg] "location" directive is not a...77
Aug 09 16:32:41 obemachine nginx[17220]: nginx: configuration file /etc/nginx/nginx.c...ed
Aug 09 16:32:41 obemachine systemd[1]: nginx.service: control process exited, code=e...s=1
Aug 09 16:32:41 obemachine systemd[1]: Failed to start A high performance web server...er.
Aug 09 16:32:41 obemachine systemd[1]: Unit nginx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Puis la deuxième commande :
journalctl -xn
-- Logs begin at Mon 2017-08-07 13:31:49 CEST, end at Wed 2017-08-09 16:37:37 CEST. --
Aug 09 16:36:45 obemachine sshd[17329]: pam_unix(sshd:auth): check pass; user unknown
Aug 09 16:36:45 obemachine sshd[17329]: pam_unix(sshd:auth): authentication failure; logna
Aug 09 16:36:47 obemachine sshd[17329]: Failed password for invalid user auth from 13.82.8
Aug 09 16:36:47 obemachine sshd[17329]: Connection closed by 13.82.89.55 [preauth]
Aug 09 16:37:36 obemachine sshd[17346]: Invalid user smece from 13.82.89.55
Aug 09 16:37:36 obemachine sshd[17346]: input_userauth_request: invalid user smece [preaut
Aug 09 16:37:36 obemachine sshd[17346]: pam_unix(sshd:auth): check pass; user unknown
Aug 09 16:37:36 obemachine sshd[17346]: pam_unix(sshd:auth): authentication failure; logna
Aug 09 16:37:37 obemachine sshd[17346]: Failed password for invalid user smece from 13.82.
Aug 09 16:37:37 obemachine sshd[17346]: Connection closed by 13.82.89.55 [preauth]
Comment réparer tout ceci ?