Execute o Redmine em um sub-dir com o thin

Para hospedar o Redmine em um subdiretório (por exemplo: http://example.org/redmine ), siga as seguintes etapas:

Adicione isso no final do Redmine config/environment.rb:

Redmine:Utils::relative_url_root = "/redmine"

Em seguida, edite sua configuração thin e adicione:

prefix: /redmine

Reinicie o thin e está tudo pronto.