DocFraggle Ahh. do you mean that cloudflare automatically redirects to https? I can have a quick look there…
[unknown]
I have a nginx config that forwards everything with mail to https. Could this be the error?
`server {
listen 80;
server_name mail.avocloud.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name mail.avocloud.net;
ssl_certificate /etc/letsencrypt/live/mail.avocloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.avocloud.net/privkey.pem;
location / {
proxy_pass https://MY_IP:9092;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}`
DocFraggle
I have a nginx config that forwards everything with mail to https. Could this be the error?
`server {
listen 80;
server_name mail.avocloud.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name mail.avocloud.net;
ssl_certificate /etc/letsencrypt/live/mail.avocloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.avocloud.net/privkey.pem;
location / {
proxy_pass https://194.xxx.xx.xxx:9092;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
`
DocFraggle
I have a nginx config that forwards everything with mail to https. Could this be the error?
`server {
listen 80;
server_name mail.avocloud.net;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl;
server_name mail.avocloud.net;
ssl_certificate /etc/letsencrypt/live/mail.avocloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mail.avocloud.net/privkey.pem;
location / {
proxy_pass https://194.xxx.xx.xxx:9092;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
`