gitlab: Import nginx http configuration from omnibus-gitlab
authorKirill Smelkov <kirr@nexedi.com>
Fri, 8 Jan 2016 09:42:48 +0000 (12:42 +0300)
committerKirill Smelkov <kirr@nexedi.com>
Sun, 17 Jan 2016 21:39:30 +0000 (00:39 +0300)
commit61544d87b2d331e462f420a0e75615476169d609
tree896e269c1fa02f8afbb1eae23f414534ea239ae8
parent4c127fddf6fac74dd5b0ead5fd3925f912930cc2
gitlab: Import nginx http configuration from omnibus-gitlab

Like with Rails configuration this first step is pristine import of
nginx configuration files from omnibus-gitlab. All files were imported
as-is in their ERB form and filenames from omnibus-gitlab
8.2.3+ce.0-0-g8eda093 from here:

    https://gitlab.com/gitlab-org/omnibus-gitlab/tree/8eda093/files/gitlab-cookbooks/gitlab/templates/default

We import only nginx main http configuration - nginx's CI and Mattermost
configurations are not imported, as we do not support CI and Mattermost (yet ?).

As with Rails configuration files, we will convert the templates to
jinja2 and adjust them to slapos version in the following patches.  We
will also use the same (commit from last-erb-mod commit + merge)
approach to track upstream changes.

/cc @kazuhiko, @jerome
software/gitlab/template/nginx-gitlab-http.conf.erb [new file with mode: 0644]
software/gitlab/template/nginx.conf.erb [new file with mode: 0644]