{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "ssh root@prod.karlkratz.com \"cat \/etc\/apache2\/sites-enabled\/dev.raum.events-le-ssl.conf\"",
"description": "Check SSL VHost config"
}
}
{
"tool_response": {
"stdout": "<VirtualHost *:8090>\n ServerName dev.raum.events\n DocumentRoot \/var\/www\/dev.raum.events\/public\n\n <Directory \/var\/www\/dev.raum.events\/public>\n Options -Indexes +FollowSymLinks\n AllowOverride All\n Require all granted\n Include conf-available\/security-rules.conf\n <\/Directory>\n\n # Admin System Alias\n Alias \/adm \/var\/www\/dev.raum.events\/adm\/public\n <Directory \/var\/www\/dev.raum.events\/adm\/public>\n Options -Indexes +FollowSymLinks\n AllowOverride All\n Require all granted\n DirectoryIndex index.php\n\n <FilesMatch \\.php$>\n SetHandler \"proxy:unix:\/run\/php\/php8.4-fpm-dev.sock|fcgi:\/\/localhost\/\"\n <\/FilesMatch>\n <\/Directory>\n\n# Protocols h2 http\/1.1\n\n # PHP-FPM\n <FilesMatch \\.php$>\n SetHandler \"proxy:unix:\/run\/php\/php8.4-fpm-dev.sock|fcgi:\/\/localhost\/\"\n <\/FilesMatch>\n\n # Brotli Compression\n <IfModule mod_brotli.c>\n BrotliCompressionQuality 4\n BrotliAlterETag AddSuffix\n AddOutputFilterByType BROTLI_COMPRESS text\/html text\/plain text\/xml text\/css application\/xml application\/xhtml+xml application\/javascript application\/x-javascript\n AddOutputFilterByType BROTLI_COMPRESS application\/rss+xml application\/atom_xml application\/x-font-ttf image\/svg+xml image\/x-icon\n AddOutputFilterByType BROTLI_COMPRESS application\/json\n <\/IfModule>\n\n # Gzip Fallback\n <IfModule mod_deflate.c>\n AddOutputFilterByType DEFLATE text\/html text\/plain text\/xml text\/css application\/xml application\/xhtml+xml application\/javascript application\/x-javascript\n AddOutputFilterByType DEFLATE application\/rss+xml application\/atom_xml application\/x-font-ttf image\/svg+xml image\/x-icon\n AddOutputFilterByType DEFLATE application\/json\n <\/IfModule>\n\n # Security Headers\n <IfModule mod_headers.c>\n Header always unset X-Frame-Options\n Header always unset Content-Security-Policy\n Header set X-Content-Type-Options \"nosniff\"\n Header set X-XSS-Protection \"1; mode=block\"\n Header always set Strict-Transport-Security \"max-age=31536000; includeSubDomains\"\n FileETag None\n Header unset ETag\n Header set Cache-Control \"max-age=31536000, public\"\n <\/IfModule>\n\n # Expires Headers\n <IfModule mod_expires.c>\n ExpiresActive On\n ExpiresDefault \"access plus 1 month\"\n ExpiresByType image\/jpg \"access plus 1 year\"\n ExpiresByType image\/jpeg \"access plus 1 year\"\n ExpiresByType image\/gif \"access plus 1 year\"\n ExpiresByType image\/png \"access plus 1 year\"\n ExpiresByType image\/avif \"access plus 1 year\"\n ExpiresByType image\/webp \"access plus 1 year\"\n ExpiresByType image\/svg+xml \"access plus 1 year\"\n ExpiresByType text\/css \"access plus 1 year\"\n ExpiresByType text\/javascript \"access plus 1 month\"\n ExpiresByType application\/javascript \"access plus 1 month\"\n ExpiresByType application\/x-javascript \"access plus 1 month\"\n ExpiresByType image\/x-icon \"access plus 1 year\"\n ExpiresByType application\/pdf \"access plus 1 month\"\n ExpiresByType application\/x-shockwave-flash \"access plus 1 month\"\n ExpiresByType application\/font-woff2 \"access plus 1 year\"\n <\/IfModule>\n\n ErrorLog \"|\/usr\/local\/bin\/apache-errorlog2db.py dev.raum.events\"\n CustomLog \/var\/www\/dev.raum.events\/logs\/dev.raum.events-access.log combined\n\n RewriteEngine on\n\n# SSLCertificateFile \/etc\/letsencrypt\/live\/dev.raum.events\/fullchain.pem\n# SSLCertificateKeyFile \/etc\/letsencrypt\/live\/dev.raum.events\/privkey.pem\n# Include \/etc\/letsencrypt\/options-ssl-apache.conf\n<\/VirtualHost>",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}