Hi,
I’m using a software named Azuracast, which install on a docker-compose file all needed for create a webradio, including a web interface. In addition, I installed mailcow, on default ports etc.
I made azuracast run on port 10080 and 10443 for web part. I want to proxy my azuracast installation to a subdomain, using the mailcow nginx container.
Actually, I added this in my mailcow.conf:
ADDITIONAL_SAN=rmo.mywebsite.net
And created data/conf/nginx/rmo.conf
in with:
server {
ssl_certificate /etc/ssl/mail/cert.pem;
ssl_certificate_key /etc/ssl/mail/key.pem;
include /etc/nginx/conf.d/listen_plain.active;
include /etc/nginx/conf.d/listen_ssl.active;
server_name rmo.electrowebradio.fr;
location / {
proxy_pass http://localhost:10443;
}
location ^~ /.well-known/acme-challenge/ {
allow all;
default_type "text/plain";
}
if ($scheme = http) {
return 301 https://$server_name$request_uri;
}
}
But It fall on a 500 error, and it redirect nothing on the azuracast installation (I checked the logs for sure).
I think it’s because mailcow nginx doesn’t have direct access to server host, and can’t redirect this request well ?
If someone know how to fix this issue, could be nice ! 🙂
Thanks,
Navalex.