Error displaying image in form

I have a self-hosted server.
When I add an image to Settings>Media it does not display in the web form. I have followed the instructions in but I always get a broken image icon in the web form.

When I inspect the code I have the following:

(If I change the green part for http:// the image display correctly)

GET 500 (Internal Server Error)

Can you help me with this issue please.

Al ingresar a la URL de la imagen

Sale un error