Created
June 23, 2014 16:09
-
-
Save hoshinaoshi/c3f40de8f50e5c7e71f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost _default_:443> | |
DocumentRoot "/usr/local/rails/shelfy_release/public/" | |
ServerName "shelfy.jp" | |
RailsMaxPoolSize 7 | |
RailsEnv production | |
ErrorLog logs/error_log | |
CustomLog logs/access_log common | |
<Directory "/usr/local/rails/shelfy_release/public/"> | |
AllowOverride all | |
Options -MultiViews | |
Order allow,deny | |
Allow from all | |
</Directory> | |
SSLCertificateKeyFile /usr/local/ssl/shelfy.key.pem # 2.CSR作成時に生成した秘密鍵(パスフレーズきかれたファイル) | |
SSLCertificateFile /usr/local/ssl/shelfy.crt # 5.で受け取ったメールに記載されていた証明書 | |
SSLCertificateChainFile /usr/local/ssl/shelfy.chain.crt # 6. 中間証明書とクロスルート証明書を合わせたファイル | |
# その他の設定はデフォルトでOK(だと思う) | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment