Forcing HTTPS for redmine

From Notes_Wiki

Home > CentOS > CentOS 6.x > Web based tools or applications > Redmine configuration > Forcing HTTPS for redmine

To force redmine to use HTTPS for all requests first setup apache on port 80 and 443 so that all incoming HTTP or HTTPS requests on standard ports are handled by apache. Then configure apache to redirect all HTTP requests for redmine virtual-host to HTTPS using:

Redirect permanent / https://<server-FQDN>/


Then configure apache to forward all requests received through HTTPS to webrick listening on port 3000 using:

    <Location />
        ProxyPass http://localhost:3000/
    </Location>

Any other way of redirecting may not result into good results and redmine application code is written such that it redirects users after login to page from where user was sent to login page. That is if user visits some issue page which requires login, then after login user is sent back to same issues page. Now this mechanism causes many problems in setting up good and secure HTTPS for redmine.


Home > CentOS > CentOS 6.x > Web based tools or applications > Redmine configuration > Forcing HTTPS for redmine