Microsoft could resolve my issue after getting in contact with their support. It wasn't actually a problem with container apps but rather with nginx (which I use for reverse-proxying).
I had to add the line proxy_ssl_server_name on;
to my nginx.conf
, thus enabling to use the FQDN with https:// and not getting any protocal errors:
events{}
http {
include "/etc/nginx/mime.types";
server {
large_client_header_buffers 4 32k;
listen 80;
location /public {
root /usr/share/nginx/html/;
autoindex on;
}
location / {
proxy_pass https://[PUT FQDN HERE];
proxy_ssl_server_name on;
proxy_http_version 1.1;
}
}
}