How to publish internal redmine site to internet?
Added by Aleksey Zavilohin almost 13 years ago
Hi. I have some problem with redmine setup... (https reverse proxy)
1. Internal redmine site http://some.internal.site/redmine
redmine running on debian squeeze with backports redmine -> 1.1.2-2~bpo60+1
2. External site - debian squeeze with nginx 0.7.67-3 with ssl cert
https://public.ssl.host/redmine/
part of nginx`s config file
... location /redmine/ { proxy_pass http://some.internal.site/redmine/; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $host; } ...
Mostly works fine over https - but some trouble with "related issues" (redmine ask me Redmine API login/pass dialog)
in log file ( \ - break for nice reading 8-)):
Processing IssueRelationsController#new (for 192.168.xx.yy at 2011-10-01 18:50:19) [POST] Parameters: {"commit"=>"Добавить", "issue_id"=>"713", "action"=>"new", \ "authenticity_token"=>"+WMXtYcmkR1mvMD2X0INgE9xA6wTGAc1ccjMffwvD94=", "relation"=>{"delay"=>"", \ "issue_to_id"=>"861", "relation_type"=>"relates"}, "id"=>"713", "controller"=>"issue_relations", "_"=>""} Filter chain halted as [:check_if_login_required] rendered_or_redirected. Completed in 6ms (View: 1, DB: 1) | 401 Unauthorized [http://some.internal.site/redmine/issues/713/relations/713]
I`m plaing with settings-> Host name and path/Protocols but no success 8-(
Please explain how to correct publish http redmine site over https reverse proxy.