2022-10-28 09:04:57 +00:00
|
|
|
ssl_certificate /www/server/panel/vhost/cert/1panel.cloud/fullchain.pem;
|
|
|
|
ssl_certificate_key /www/server/panel/vhost/cert/1panel.cloud/privkey.pem;
|
|
|
|
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
2024-06-14 08:22:39 +00:00
|
|
|
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:!aNULL:!eNULL:!EXPORT:!DSS:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!SRP:!CAMELLIA:!SEED;
|
2022-10-28 09:04:57 +00:00
|
|
|
ssl_prefer_server_ciphers on;
|
|
|
|
ssl_session_cache shared:SSL:10m;
|
|
|
|
ssl_session_timeout 10m;
|
2023-01-09 02:38:54 +00:00
|
|
|
error_page 497 https://$host$request_uri;
|
2024-07-05 08:50:39 +00:00
|
|
|
proxy_set_header X-Forwarded-Proto https;
|