Added nginx config example to cut-off ".git"#173
Added nginx config example to cut-off ".git"#173xaionaro wants to merge 3 commits intogitlabhq:masterfrom
Conversation
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
There was a problem hiding this comment.
Can you document somewhere that people have to change this?
There was a problem hiding this comment.
Sorry for my English skills, but I don't understand the question.
Did you mean "why people have to change that"?
There was a problem hiding this comment.
At this point you have hardcoded the url https://git.example.com people may not know that they have to change this.
There was a problem hiding this comment.
I see. Can you show an example of the "documentation"? Should I just add a note in the first lines of this configuration file?
There was a problem hiding this comment.
@xaionaro I guess @jvanbaarsen means something like this https://github.com/gitlabhq/gitlab-recipes/blob/master/web-server/nginx/gitlab-ssl#L31
|
Should this go into the normal GitLab? |
|
I think having both features (cut of .git and /public as default start page when not logged in) as toggles would be great |
It's required to be able to clone with
instead of
as it already is on GitHub.