Help us understand the problem. What is going on with this article?

Redmine Apache設定ファイルの作成

More than 3 years have passed since last update.

前提条件

0. 準備

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}

2. 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}

3. 事後作業

完了

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away