Apache HTTPD: How to setup Virtual Host correctly
问题 I've installed Apache httpd on my Mac and "It works". Now I need to configure a Virtual Host in order to expose my application (Java Spring) with httpd as reverse proxy in front of it. This is what I have into /usr/local/etc/httpd/extra/httpd-vhosts.conf file <VirtualHost *:443> ServerName my.domain.it:443 SSLEngine on SSLCertificateFile /path/to/cert.crt SSLCertificateKeyFile /path/to/cert.key ProxyPreserveHost On ProxyPass / http://localhost:8080/myapp ProxyPassReverse / http://localhost