I set gitlab-ce into a LXD container , and from the main I redirect to it. The certificate from LetsEncrypt is done on the host.
So in the host , in apache I have this
ProxyPass / http://10.192.139.126:80/ nocanon ProxyPassReverse / http://10.192.139.126:80/ ProxyPreserveHost On AllowEncodedSlashes NoDecode SSLCertificateFile /etc/letsencrypt/live/gitlab.example.eu/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/gitlab.example.eu/privkey.pem
and in the LXD Container (named gitlab-example-srv), the nginx just listen on *:80
So when I try to upload a file , I have a
An error occurred while uploading the file. Please try again.
So I changed in /etc/gitlab/gitlab.rb
external_url 'http://gitlab.example.eu' pages_external_url "https://gitlab.example.eu" gitlab_pages['enable'] = true gitlab_pages['artifacts_server_url'] = 'https://gitlab.example.eu/api/v4 gitlab_pages['internal_gitlab_server'] = "https://gitlab.example.eu" gitlab_pages['gitlab_server'] = 'https://gitlab.example.eu'
But it doesn’t work at all, in fireworks when I try to upload I still can see
It looks like the mixed content is blocked , so dropzone.js cannot be executed and so the file cannot be uploaded.
Someone has an idea how to fix it pls ?
Thank you in advance