Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<VirtualHost _default_:443>
DocumentRoot "/usr/local/rails/sample/public/"
ServerName "sample.com"
RailsMaxPoolSize 7
RailsEnv production
ErrorLog logs/error_log
CustomLog logs/access_log common
<Directory "/usr/local/rails/sample/public/">
AllowOverride all
Options -MultiViews
Order allow,deny
Allow from all
</Directory>
SSLCertificateKeyFile /usr/local/ssl/my.key.pem # 2.CSR作成時に生成した秘密鍵(パスフレーズきかれたファイル)
SSLCertificateFile /usr/local/ssl/my.crt # 5.で受け取ったメールに記載されていた証明書
SSLCertificateChainFile /usr/local/ssl/my.chain.crt # 6. 中間証明書とクロスルート証明書を合わせたファイル
# その他の設定はデフォルトでOK(だと思う)
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.