I successfully manage to reverse proxy my Node app through a reverse proxy with the below customizations
<VirtualHost 190.200.180.50:3333>
ServerName messenger.example.com
ProxyPass / http://localhost:3333/ connectiontimeout=5 timeout=30
</VirtualHost>
this customization result gets a response from messenger.example.com:3333 from localhost:3333 on my server
the second I add configuration for managing HTTPS request I got 403 forbidden
<VirtualHost 190.200.180.50:3333>
ServerName messenger.example.com
ServerAlias www.messenger.example.com
ServerAdmin [email protected]
UseCanonicalName Off
<IfModule ssl_module>
SSLEngine on
SSLCertificateFile /var/cpanel/ssl/apache_tls/messenger.example.com/combined
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<Directory "/home/example/public_html/messenger/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
ProxyPass / http://localhost:3333/ connectiontimeout=5 timeout=30
</VirtualHost>
And no there is no option for using this API over HTTP it has to be HTTPS.
the IP is fake
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…