How do I configure https using redmine?
I have a last version Redmine. How do I configure the system so that access to redmine worked on the https protocol. Give step-by-step guide where to look.
RE: How do I configure https using redmine? - Added by Artur Nek over 14 years ago
Is no one will help? Very need to customize it
But, I would use apache with the mod-proxy to do the https stuff. And run Redmine on the default 3000 port.
Something like :
Alias /cgi-bin /usr/lib/cgi-bin
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/
I configure that. but i have troubles - Added by Dmitry U. about 14 years ago
You should configure your apache to use SSL.
LoadModule proxy_module bin/mod_proxy.so LoadModule proxy_http_module bin/mod_proxy_http.so ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> Alias /rm "C:/redmine/public" <Directory /rm> Options Indexes FollowSymLinks AllowOverride none Order allow,deny Allow from all </Directory> ProxyPass / http://127.0.0.1:3000/rm ProxyPassReverse / http://127.0.0.1:3000/rm
I start mongrel with:
mongrel_rails start -e production -a 127.0.0.1 -p 3000 --prefix /rm
When you press "Login" button on "/login" page it kick you to "http://" protocol, and you have Bad request.
After you log in Redmine, press Sign Out button, it kick you to "http://" protocol again.
RE: How do I configure https using redmine? - Added by Eric Davis about 14 years ago
You need to add a Request Header so mongrel knows to generate https links:
RequestHeader set X_FORWARDED_PROTO 'https'