Https + reverse proxy

Hello everyone!

I am currently running my GitLab instance inside a docker container. And since there some other web apps on the same server I’m using nginx as a reverse proxy. Now nginx is also taking care of the https stuff. So I really only need and want the nginx inside the container to serve http. However to achieve that I had to set the external_url to http://gitlab.example.com. This is causing the HTML to contain links to the http page and also the runner URL is just http.

These are things that are not really causing the page to stop working. It’s just causing warnings and “wrong” links to appear everywhere.

Can I have the external_url be a https one without the built in nginx trying to server an https site?

I found it: https://docs.gitlab.com/omnibus/settings/nginx.html#supporting-proxied-ssl