0

I am trying to setup Private NPM registry using Verdaccio on ec2 instance (Linux). For this I have configured a CloudFront as well.

I am able to access the Registry using the Public EC2 IP but,

On visiting the CloudFront host, I keep getting

Mixed Content: The page at 'https://somedomain.com/' was loaded over HTTPS, but requested an insecure script 'http://somedomain.com/-/static/runtime.d4346a1621c9b92e2ba9.js'. This request has been blocked; the content must be served over HTTPS.

I have tried this config but doesn't seem to work

VERDACCIO_PUBLIC_URL='https://somedomain.org'; <- environment variable (bash_profile)

url_prefix: '/' <- in config.yaml file

0 Answers0