175 Commits

Author SHA1 Message Date
Sameer Naik
212994dc5f moved UseDNS sshd configuration to install script 2014-08-30 13:17:54 +05:30
Sameer Naik
b90bad454d cleanup init script 2014-08-30 13:14:42 +05:30
Sameer Naik
98e5dabaf6 renamed nginx template gitlab.https.strict to gitlab-ssl 2014-08-30 13:04:37 +05:30
Sameer Naik
2dc5a61598 removed the gitlab.https.permission configuration template 2014-08-30 13:04:37 +05:30
Sameer Naik
0825f75e44 removed hack to disable secure sessions store when using a load balancer with ssl.
since commit 0c09fc846b29e2d07c5fcce6d551c631d63ab710 the hack to allow login over plain http when ssl is enabled is no longer required since the "proxy_set_header X-Forwarded-Proto" configuration is set to https.
2014-08-30 13:04:37 +05:30
Sameer Naik
96c964ed0d added NGINX_X_FORWARDED_PROTO configuration option 2014-08-30 13:04:37 +05:30
Sameer Naik
bab3ab1a7b removed the hack to make git over ssh
since commit 4966ffd2045a8405cd06365f6a2b24bbfc570958 the hack to make git over ssh work when the default http/https ports are not used is not required.
2014-08-30 13:04:35 +05:30
Sameer Naik
ba648a012b fix logic for copying user configurations 2014-08-29 23:07:04 +05:30
Sameer Naik
bf0b49e7f3 gitlab-shell: talk directly to unicorn worker, instead of going through nginx 2014-08-29 23:07:03 +05:30
Sameer Naik
9123824073 install the gitlab vhost to /etc/nginx/sites-enabled/ 2014-08-29 12:39:59 +05:30
Sameer Naik
7e30b2e09b upgrade to gitlab-ce 7.2.1 2014-08-29 00:00:44 +05:30
Sameer Naik
0240531d7b added new SMTP_ENABLED configuration option. 2014-08-27 00:44:21 +05:30
Sameer Naik
f589fdac3c group nginx vhost config and relative root config codeblocks together 2014-08-26 01:17:51 +05:30
Sameer Naik
3d96888bd1 clean up GITLAB_RELATIVE_URL_ROOT code 2014-08-26 01:14:04 +05:30
Sameer Naik
bc430492c6 fix nginx static route handling when GITLAB_RELATIVE_URL_ROOT is used.
nginx was not configured correctly to handle static routes due to
which user uploaded files (in issues/wiki/avatar) were not being
displayed.

This issue was particularly visible when gitlab was configured to
use a relative url root.

This commit fixes the issue.
2014-08-26 00:41:10 +05:30
Sameer Naik
421018d563 fix relative root access without the trailing '/' character
if GITLAB_RELATIVE_URL_ROOT was configured (e.g. /gitlab), the application
was not accessible at http://git.local.host/gitlab. The trailing '/'
character was required.

This commit fixes the issue.
2014-08-26 00:25:41 +05:30
Sameer Naik
b8778c18d6 fix regression in sshd config introduced in efb421e7578b52fb970d3e6c7785a4e6dcad2342 2014-08-25 21:03:48 +05:30
Sameer Naik
0f5f17275c added seperate server block for http config in gitlab.https.permissive. Fixes #127 2014-08-25 20:47:40 +05:30
Sameer Naik
efb421e757 defined macros for path variables 2014-08-25 19:53:27 +05:30
Devin Smith
d29f49c28c updated README.md, using OAUTH_GOOGLE_RESTRICT_DOMAIN instead of OAUTH_GOOGLE_HD 2014-08-23 12:02:54 -05:00
Devin Smith
dda73fc1e3 added google oauth hd config to allow for restricted domain. (see https://github.com/gitlabhq/gitlabhq/issues/1635) 2014-08-23 11:25:34 -05:00
Sameer Naik
1d3e2281dc upgrade to gitlab-ce 7.2.0 2014-08-22 17:57:27 +05:30
Sameer Naik
1697f8d333 use spaces for indentation 2014-08-19 19:12:15 +05:30
Sameer Naik
7ff2c1f5ff disable UsePrivilegeSeparation in sshd configuration, fixes #122 2014-08-16 15:55:56 +05:30
Sameer Naik
730a02671a added OAUTH_BLOCK_AUTO_CREATED_USERS configuration option 2014-08-15 13:13:00 +05:30
Sameer Naik
e548a86e12 added OAUTH_ALLOW_SSO configuration option 2014-08-15 13:11:26 +05:30
Sameer Naik
d6d7ee82e0 added github oauth configuration support 2014-08-15 13:05:56 +05:30
Sameer Naik
61fbd092cd added twitter oauth configuration support 2014-08-15 13:01:52 +05:30
Sameer Naik
650294687e added support for google apps oauth, refer #111 2014-08-15 12:54:53 +05:30
Sameer Naik
b98abd5c19 added support for jira issue tracker 2014-08-15 00:18:54 +05:30
Sameer Naik
db3d4f7d86 added support for redmine issue tracker 2014-08-15 00:17:25 +05:30
Sameer Naik
4f46f7d5e9 update to gitlab-shell 1.9.7 2014-08-14 19:08:07 +05:30
John Jelinek IV
ad0b358d10 Fix #123 Set UseDNS to No in sshd_config 2014-08-13 23:12:46 -05:00
Sameer Naik
1d82220c80 removed "add_header X-Frame-Options DENY" setting from the nginx config. fixes #110 2014-07-30 11:23:03 +05:30
Sameer Naik
265b5ef6ad upgrade to gitlab-ce 7.1.1 2014-07-30 11:15:26 +05:30
Sameer Naik
859ec18fe5 run gitlab init script as git user Closes #103 #74
When the /etc/init.d/gitlab script tries to switch the user to the `git` user, selinux steps in and blocks it. To avoid this we simple run the script as the `git` user using the `sudo -u git -H` command prefix.

In short the image should work with selinux enabled.
2014-07-26 13:24:22 +05:30
Sameer Naik
a7e578d693 added sanity checks for uploads directory 2014-07-22 20:29:33 +05:30
Sameer Naik
ef0a3392ca create of tmp/cache and tmp/public directories during migration 2014-07-22 20:20:01 +05:30
Sameer Naik
ce67d859fd added sanity checks for tmp directory 2014-07-22 20:18:12 +05:30
Sameer Naik
af6577c93f removed GITLAB_SUPPORT configuration option 2014-07-22 20:17:34 +05:30
Sameer Naik
545f8bcf53 set default email address to example@example.com 2014-07-22 20:16:11 +05:30
Sameer Naik
b33fc3e26f upgrade to gitlab-ce 7.1.0 2014-07-22 18:14:00 +05:30
Sameer Naik
7e87854396 fix comment 2014-07-18 20:12:05 +05:30
Sameer Naik
f65d5d6729 clone gitlab-ce and gitlab-shell sources from the git repo. Closes #102 2014-07-18 20:01:21 +05:30
Sameer Naik
b55017c5db chmod /home/git/data directory. ref #34 2014-07-17 21:23:54 +05:30
Sameer Naik
3c9b57a14a sshd: disable pam authentication module. ref #97 2014-07-09 10:28:33 +05:30
Sameer Naik
95ef3c1913 silence setlocale message (#93) 2014-07-02 17:54:53 +05:30
Sameer Naik
a483b2782a update to the sameersbn/ubuntu:14.04.20140628 baseimage 2014-07-01 22:51:06 +05:30
Sameer Naik
ba155d4c47 do not assign a password for root since we do not allow root access
anymore
2014-07-01 22:50:53 +05:30
Sameer Naik
6d1f94b1f2 minify gitlab.https.permissive nginx config 2014-06-27 23:40:57 +05:30