redmine設定
文書の過去の版を表示しています。
redmine設定
serverをupgradeしたらredmineをが動かなくなった。
apacheのpassengerが動作しなくなっていた。(upgradeしたから当然・・)
再度passengerを設定するもうまく行かないので、webrickとapacheで動作させるようにする。
サブディレクトリにするのがうまく行かなかった
webrick→thinへ変更
設定ファイル
/etc/thin1.9.1/xxxx.yml
参考 http://ysmt.blog21.fc2.com/blog-entry-291.html
environment.rb
redmine/config/environment.rbにサブディレクトリ用の設定を追加
.... # Initialize the rails application RedmineApp::Application.initialize! #2017/06/02 add Redmine::Utils::relative_url_root = "/redmine"
apache
/etc/apache2/conf-enable/redmine.conf
<Location "/redmine"> ProxyPass http://localhost:3000/redmine ProxyPassReverse http://localhost:3000/redmine </Location>
thin
設定ファイル /etc/thin1.9.1/redmine.yml
redmine設定.1513260995.txt.gz · 最終更新: 2019/06/30 12:22 (外部編集)