Ok, ogarnąłem, problem był z certyfikatem a nie konfiguracją.
Do "HTTP Section Custom configuration" nie działa trzeba dopisać do "SERVER Section Custom configuration".
Scalony z 05 sierpnia 2025 19:51:17:
Po uruchomieniu SSL serwer sam nie wstaje po restarcie routera. Jakieś sugestie?
To mam dopisane w server section, oczywiście zaznaczone enable on start.
Bez SSL wstawał po restarcie.
listen 443 ssl;
http2 on;
server_name www.adres-strony.com;
index index.html index.htm index.php;
access_log /var/log/nginx/adres-strony.com.log;
error_log /var/log/nginx/adres-stronycom.log error;
ssl_certificate_key key.txt;
ssl_certificate cert1.txt;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
ssl_prefer_server_ciphers off;
add_header Strict-Transport-Security max-age=31536000;
Edytowany przez overflow2 dnia 05-08-2025 19:51
Asus RT-AC56U FT-AIO
|