Disabling SSL on the Front-End

Disable Back-end SSL on Front-end Clients


# 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.