Décidément, mon changement de serveur ne se passe pas aussi bien que prévu, je rencontre un problème avec Let's encrypt, en fait je remarque que mon site est inaccessible en HTTPS, et de plus lorsque je teste via un site tel que SSLLABS j'ai en retour une erreur voilà des différents éléments.
La présence du certificat :
root@PAR-179764:/etc/letsencrypt/live/www.mantyplex.ovh# ls -l
total 4
lrwxrwxrwx 1 root root 41 Jan 16 08:56 cert.pem -> ../../archive/www.mantyplex.ovh/cert1.pem
lrwxrwxrwx 1 root root 42 Jan 16 08:56 chain.pem -> ../../archive/www.mantyplex.ovh/chain1.pem
lrwxrwxrwx 1 root root 46 Jan 16 08:56 fullchain.pem -> ../../archive/www.mantyplex.ovh/fullchain1.pem
lrwxrwxrwx 1 root root 44 Jan 16 08:56 privkey.pem -> ../../archive/www.mantyplex.ovh/privkey1.pem
-rw-r--r-- 1 root root 692 Jan 16 08:56 README
Mon fichier params.conf :
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
ssl_ecdh_curve secp384r1;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "ECDHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA";
ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/letsencrypt/live/www.mantyplex.ovh/fullchain.pem;
resolver 8.8.8.8;
Et mon fichier rutorrent.conf (partie nécessaire) :
include /etc/nginx/conf.d/log_rutorrent.conf;
server {
listen 80 default_server;
listen 443 default_server ssl http2;
server_name www.mantyplex.ovh;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/letsencrypt/live/www.mantyplex.ovh/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.mantyplex.ovh/privkey.pem;
include /etc/nginx/conf.d/ciphers.conf;
access_log /var/log/nginx/rutorrent-access.log combined if=$loggable;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
root /var/www;
location = /favicon.ico {
access_log off;
log_not_found off;
}
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ \.php$ {
fastcgi_index index.php;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
Si vous pouviez m'éclairer ça serait top 😉
Encore merci à vous.
Ps HS: Comment se connecter en root FTP avec OP ?