Hi, Can you please tell me how to redirect http to https for nodeJS. What should I add to Apache Directives? Currently I have: Code: ProxyPreserveHost On ProxyPass /node http:://127.0.0.1:3000/ Thank you!
Could you at least tell us what is happening? Is the node app working without the HTTP -> HTTPS redirect?
Hi, Yes it's working, http and https works but when you type http it doesn't automatically redirect to https --that's what I would like to do Thank you!
Hm, as till already said it should work if enabled. Could you check the vhost file for further debugging. Once without the redirect set in the site options and once with it enabled? If you're not familiar with it you can post it here. The vhost files are stored in /etc/apache2/sites-enabled/