内容へ移動
nabezo wiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
redmine設定
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== redmine設定 ====== serverをupgradeしたらredmineをが動かなくなった。 apacheのpassengerが動作しなくなっていた。(upgradeしたから当然・・) 再度passengerを設定するもうまく行かないので、thinとapacheで動作させるようにする。 サブディレクトリにするのがうまく行かなかった 参考 http://ysmt.blog21.fc2.com/blog-entry-291.html http://boscono.hatenablog.com/entry/2013/11/03/170921 https://blog.cles.jp/item/9244 ===== environment.rb ===== redmine/config/environment.rbにサブディレクトリ用の設定を追加 .... # Initialize the rails application RedmineApp::Application.initialize! Redmine::Utils::relative_url_root = "/redmine" ===== シンボリックリンクの作成 ===== cd redmine/public ln -s . 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 pid: tmp/pids/thin.pid ##user: redmine ##group: redmine chdir: /usr/share/redmine wait: 30 timeout: 30 log: /var/log/thin.log max_conns: 1024 require: [] environment: production max_persistent_conns: 512 servers: 1 daemonize: true ##socket: /tmp/thin.sock rackup: /usr/share/redmine/config.ru address: 127.0.0.1 port: 3000 ###prefix: /redmine debug: on trace: on
redmine設定.txt
· 最終更新: 2019/06/30 12:22 by
127.0.0.1
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ