From 6332ff4f402fd80ba2d83af3f1f697fd31d8032e Mon Sep 17 00:00:00 2001 From: Jan-Stefan Janetzky Date: Sun, 22 Mar 2015 00:04:10 +0100 Subject: [PATCH] added X-Forwarded-Ssl: on to the reverse proxy documentation this relates to https://github.com/sameersbn/docker-gitlab/issues/276 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b4e3aa6f..66d852ca 100644 --- a/README.md +++ b/README.md @@ -550,6 +550,9 @@ docker run --name=gitlab -d -p 10022:22 -p 10080:80 \ sameersbn/gitlab:7.8.4 ``` +In case Gitlab responds to any kind of POST request (login, project settings etc.) with a 422 HTTP Error, consider adding this to your reverse proxy configuration: +`proxy_set_header X-Forwarded-Ssl on;` (nginx format) + Again, drop the `-e 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates. #### Establishing trust with your server