add: handle sending HTTP request to HTTPS port

This commit is contained in:
mcolonna 2025-06-09 16:25:45 +02:00
parent aa2a0d6f71
commit b7cb3733ec
3 changed files with 8 additions and 0 deletions

View file

@ -30,6 +30,7 @@ http {
ssl_certificate mcolonna.42.fr.crt;
ssl_certificate_key mcolonna.42.fr.key; # TODO(any)(secret) secret? # TODO(any)(nocopy)
ssl_protocols TLSv1.3;
error_page 497 =301 /497.php;
# TODO ssl_ciphers(any)
access_log /var/log/nginx/mcolonna.42.fr.access.log main;