Hi,
thank you so much, i got a little bit further: i have created this config file (nano data/conf/nginx/index.conf):
server {
ssl_certificate /etc/ssl/mail/cert.pem;
ssl_certificate_key /etc/ssl/mail/key.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE$
ssl_ecdh_curve X25519:X448:secp384r1:secp256k1;
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 1d;
ssl_session_tickets off;
index index.php index.html;
client_max_body_size 0;
root /web/startpage;
include /etc/nginx/conf.d/listen_plain.active;
include /etc/nginx/conf.d/listen_ssl.active;
server_name my-domain.de;
server_tokens off;
location ^~ /.well-known/acme-challenge/ {
allow all;
default_type "text/plain";
}
if ($scheme = http) {
return 301 https://$server_name$request_uri;
}
}
and in data/web/startpage there is:
root@mail:/opt/mailcow-dockerized/data/web/startpage# ls -la
total 16
drwxr-xr-x 2 82 82 4096 Jul 13 15:32 .
drwxr-xr-x 14 root root 4096 Jul 13 15:30 ..
-rw-r--r-- 1 82 82 274 Jul 13 15:31 index.html
-rw-r--r-- 1 82 82 504 Jul 13 15:32 style.css
once i have restarted all the docker components and go to my-domain.de i get a false ssl-cert because it was issued for mail.my-domain.de what am i doing wrong here?
Thank you so much for your time and help!