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
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
Sameer Naik
6d1f94b1f2
minify gitlab.https.permissive nginx config
2014-06-27 23:40:57 +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
Sameer Naik
ebce045156
ssl: disable gzip compression for https connections
2014-06-18 12:59:25 +05:30
Sameer Naik
679e35cd2a
ssl: enable gzip compression for plain http connections
2014-06-18 12:59:08 +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
63135215fc
added gitlab.https.permissive nginx template that will be used when you want to allow both http and https access
2014-04-28 20:55:29 +05:30