Configuring Gitlab-CE with reverse Nginx SSL proxy with examples with wildcard Let's encrypt certification.
I have wildcard certification from Let’s encrypt for
Centos 7 running omnibus gitlab-ce.
Would like to run on same server
gitlab.example.com and other websites like `
For this use case would be better to disable bundled nginx and handle it with own nginx.
However I ran into issue that no tutorial covers this comprehensively (with ssl, header, selinux, etc.). For example
https://docs.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server where are two Notes I couldn’t complete them a) I have not /home/git/ direcorty b) don’t know how determine all those directories.
Really looking for some guide from where I can learn running multiple sites on same machine each with https (idealy just wildcard certification) on reverse proxy and integrate gitlab on same machine.
Also really handy would be which part of configuration files can be included as snippets and which not (alltough
even one large config file would suffice).
My attempts are getting me 502 bad gateway because I don’t really understand the context of handling several sites.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.