Comment #5 on issue 2430 by stid.s...@gmail.com: post-review fails to post diff to reviewboard server if anonymous access disabled
http://code.google.com/p/reviewboard/issues/detail?id=2430

OK, here is the workaround:

1. In Nginx (front end) configuration, add the following:
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto $scheme;

2. In Apache (back end) configuration, add the following:
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on

3. In reviewboard local configuration file (conf/settings_local.py), add the following:
USE_X_FORWARDED_HOST = True

Now it works for both http and https.

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to