27 lines
817 B
Plaintext
27 lines
817 B
Plaintext
<VirtualHost *:80>
|
|
ServerName default
|
|
|
|
# ハンドシェイク成功後のリクエストに対して 410 を返却
|
|
Redirect 410 /
|
|
|
|
# other-vhosts-access.logから指定のログファイルへ出力
|
|
ErrorLog ${APACHE_LOG_DIR}/defence-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/defence-access.log combined
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
ServerName default
|
|
|
|
# 全く内容のない蛇油を提示
|
|
SSLEngine on
|
|
SSLCertificateFile /etc/ssl/private/true-snakeoil.crt
|
|
SSLCertificateKeyFile /etc/ssl/private/true-snakeoil.key
|
|
|
|
# ハンドシェイク成功後のリクエストに対して 410 を返却
|
|
Redirect 410 /
|
|
|
|
# other-vhosts-access.logから指定のログファイルへ出力
|
|
ErrorLog ${APACHE_LOG_DIR}/defence-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/defence-access.log combined
|
|
</VirtualHost>
|