Gah. I didn't realize the "PassengerEnabled" directive could be used inside <Directory> blocks. Sorry about that.
That said, I copied the example given and requests still seem to be getting sent to Passenger. With the config below, when I request "
https://myserver.mydomain.com/images/foobar.jpg", which doesn't exist, I get a RoutingError in my Rails logs. We're on 4.0.59 if that matters.
Config:
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile {EDITED}
SSLCertificateKeyFile {EDITED}
SSLCertificateChainFile {EDITED}
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4
Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;"
ServerName {EDITED}
RewriteEngine on