This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
gitlab_nginx_additional [2021/12/06 20:40] – admin | gitlab_nginx_additional [2021/12/06 21:09] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Gitlab NGINX custom/ | ====== Gitlab NGINX custom/ | ||
+ | Sometimes it's handy to have a additional domain configured for the Gitlab Omnibus bundled | ||
+ | NGINX Server. Even though it is not encouraged doing so by Gitlab, it is still | ||
+ | possible. | ||
===== Gitlab config ===== | ===== Gitlab config ===== | ||
Line 31: | Line 34: | ||
index index.html index.htm; | index index.html index.htm; | ||
- | server_name example.com; | + | server_name |
location / { | location / { | ||
Line 49: | Line 52: | ||
index index.html index.htm; | index index.html index.htm; | ||
- | server_name example.com; | + | server_name |
# Refer to Gitlabs letsencrypt cert here. | # Refer to Gitlabs letsencrypt cert here. |