14 Commits

Author SHA1 Message Date
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
efb421e757 defined macros for path variables 2014-08-25 19:53:27 +05:30
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
Jens Kohl
7198596f4b Enable SPDY support
nginx comes with SPDY basically for free
2014-06-26 22:23:54 +02:00
Sameer Naik
a799ee857e nginx: base the ssl nginx configs on gitlab-ssl config 2014-06-20 15:58:42 +05:30
Sameer Naik
69940300ae nginx: clean up configs 2014-06-18 12:59:44 +05:30
Shu Sugimoto
8eda25cdf9 add GITLAB_RELATIVE_URL_ROOT configuration option 2014-05-22 10:53:42 +09:00
Sameer Naik
ec97f84bda disable gzip encoding when ssl is enabled 2014-05-15 10:22:28 +05:30
Sameer Naik
2dd26817a0 added NGINX_MAX_UPLOAD_SIZE configuration option 2014-05-13 14:49:30 +05:30
Sameer Naik
c1f501c0de added SSL_DHPARAM_PATH configuration option to specify path of dhparam.pem file. 2014-04-28 23:41:05 +05:30
Sameer Naik
aa709bb49d configure ssl session cache 2014-04-28 20:55:29 +05:30
Sameer Naik
dfb5dd1d20 added SSL_CERTIFICATE_PATH configuration option to specify path of ssl certificate 2014-04-28 20:55:29 +05:30
Sameer Naik
6b3623fb5d renamed gitlab.https to gitlab.https.strict 2014-04-28 20:55:29 +05:30