summaryrefslogtreecommitdiff
path: root/doc/migrate_ci_to_ce
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-09-16 20:45:58 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-09-16 20:45:58 +0200
commit50e5950947490b58cea1a50a5be137d45d0a334c (patch)
tree730bfd08db0b35c5f6e4ae8b77b1b139d53d1221 /doc/migrate_ci_to_ce
parenta0aa6453bd0099a0e1d0bfd6725fff8aaa9d29a9 (diff)
downloadgitlab-ce-50e5950947490b58cea1a50a5be137d45d0a334c.tar.gz
Add missing proxy requests to migration docsfix-nginx
Diffstat (limited to 'doc/migrate_ci_to_ce')
-rw-r--r--doc/migrate_ci_to_ce/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/migrate_ci_to_ce/README.md b/doc/migrate_ci_to_ce/README.md
index e12ea9a9ad7..13efc8442d2 100644
--- a/doc/migrate_ci_to_ce/README.md
+++ b/doc/migrate_ci_to_ce/README.md
@@ -222,6 +222,18 @@ You need to edit `/etc/nginx/sites-available/gitlab_ci` and paste:
resolver 8.8.8.8 8.8.4.4;
proxy_pass $scheme://YOUR_GITLAB_SERVER_FQDN/ci$request_uri;
}
+
+ # expose build endpoint to allow trigger builds
+ location ~ ^/projects/\d+/build$ {
+ proxy_read_timeout 300;
+ proxy_connect_timeout 300;
+ proxy_redirect off;
+ proxy_set_header X-Real-IP $remote_addr;
+
+ # You need to specify your DNS servers that are able to resolve YOUR_GITLAB_SERVER_FQDN
+ resolver 8.8.8.8 8.8.4.4;
+ proxy_pass $scheme://YOUR_GITLAB_SERVER_FQDN/ci$request_uri;
+ }
# redirect all other CI requests
location / {