0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Redmine Apache設定ファイルの作成

Posted at

前提条件

  1. 準備
    =======

0.1. AMI設定情報ディレクトリの指定

変数の指定
DIR_CONF_AMI='config-ami-handson-20170213'
コマンド
mkdir -p ${DIR_CONF_AMI}
  1. 事前作業
    ===========

1.1. Apache設定ファイルの指定

変数の設定
FILE_INPUT="${DIR_CONF_AMI}/httpd-redmine.conf" \
        && echo ${FILE_INPUT}
  1. Apacheの設定ファイル作成 (Redmine部分)
    =========================================
コマンド
cat << EOF > ${FILE_INPUT}
<Directory "/var/lib/redmine/public">
  Require all granted
  #Order allow,deny
  #Allow from all
</Directory>

# remove Passenger additional HTTP headers
#
Header always unset "X-Powered-By"
Header always unset "X-Runtime"

# Passenger tuning
# (https://www.phusionpassenger.com/library/config/apache/reference/)
PassengerMaxPoolSize 20
PassengerMaxInstancesPerApp 4
PassengerPoolIdleTime 864000
PassengerHighPerformance on
PassengerStatThrottleRate 10
PassengerSpawnMethod smart
PassengerFriendlyErrorPages off

RackBaseURI /redmine
EOF

cat ${FILE_INPUT}
  1. 事後作業
    ===========

完了

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?