Disabling SSL on the Front-End
Disable Back-end SSL on Front-end Clients
This is not recommended for production environments and WILL break,
throwing an http mixed content error.
frontendPath="/var/lib/interlock/interlock_frontend"
# Disable SSL
sed -i "s/ssl:\!0/ssl:\!1/g" $frontendPath/js/app*.map
sed -i "s/ssl:\!0/ssl:\!1/g" $frontendPath/js/app*.js
# Enable SSL
sed -i "s/ssl:\!1/ssl:\!0/g" $frontendPath/js/app*.js
sed -i "s/ssl:\!1/ssl:\!0/g" $frontendPath/js/app*.map
Self-signed Certificate Exception
If you do not have a proper Let’s Encrypt or Paid SSL Certificate you’ll need to access your backend URL before-hand and set an exception in your browser for the Axios requests to work.