I have spent a bit of time trying a bunch of things but have been unable to get this image to work in anything other than cloudflare's flexible configuration. When I try to turn on the Full setting the website is replaced by a 521 error.
I placed my key.pem and cert.pem in the /mnt/docker/flarum/nginx folder with the following custom-vhost-flarum.conf:
ssl on;
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/nginx/flarum/cert.pem;
ssl_certificate_key /etc/nginx/flarum/key.pem;
I have spent a bit of time trying a bunch of things but have been unable to get this image to work in anything other than cloudflare's flexible configuration. When I try to turn on the Full setting the website is replaced by a 521 error.
I placed my key.pem and cert.pem in the /mnt/docker/flarum/nginx folder with the following custom-vhost-flarum.conf: ssl on; listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/nginx/flarum/cert.pem; ssl_certificate_key /etc/nginx/flarum/key.pem;
But the website still reports a 521 error.
Any help would be appreciated.