B4J Question Apache2 Reverse Proxy

LWGShane

Well-Known Member
Licensed User
Longtime User
I'm trying to get the ABMaterial demo app running on my VPS via reverse proxy. Everytime I try to go to the URL, I get an "Internal Server Error" message. It works fine when I access it via IP

My vHost file:
B4X:
<VirtualHost *:80>
    ServerName abm.leftwinggamers.com
    Redirect / https://abm.leftwinggamers.com
</VirtualHost>

<VirtualHost *:443>
    ServerName abm.leftwinggamers.com
    ServerAlias www.abm.leftwinggamers.com
    DocumentRoot /var/www/html

    SSLEngine On
    #I have a wildcard certificate so these are correct.
    SSLCertificateFile /etc/letsencrypt/live/leftwinggamers.com/cert.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/leftwinggamers.com/privkey.pem
    SSLCertificateChainFile /etc/letsencrypt/live/leftwinggamers.com/chain.pem

    <Location />
        ProxyPass ws://127.0.0.1:51042
    </Location>
</VirtualHost>
 
Top