Monday, 15 May 2017

How to use Node http-proxy to serve external site in subfolder behind AWS load balancer with SSL

I have a requirement to migrate an external blog into a /blog subfolder.

I have been able to get nodejitsu/node-http-proxy up and running on http but our AWS instance sits behind a load balancer which has an SSL cert enabled.

When I load the site on Elastic beanstalk all of the urls including scripts and stylesheets etc appear with http:// not https://. Chrome blocks this content from displaying/loading and the certificate is invalidated by the insecure content.

Mixed Content: The page at 'https://xxx-xxx.co.uk/blog' was loaded over HTTPS, but requested an insecure stylesheet

Does anyone know how to update the URLs to display https:// without setting up a secure server using the http proxy?



via designreact

No comments:

Post a Comment