serve HTTPS from blox app directory
Anyone know if this is possible? Our site is now HTTPS, but assets in the app directory aren't, so they won't display.
Answer
The /app directory should allow http or https as long as you are calling that from the original code. You would need to ensure that the reference in the code is actually pointing to https however. Protocol-less will also work, but these days we recommend just doing straight secure always, regardless of whether or not your site is secure.
In other words, if your website is asking for an image in the /app directory, it needs to say:
<img src="https://example.com/app/images/image.jpg">
instead of:
<img src="http://example.com/app/images/image.jpg">
If you're doing this already and it isn't working - please let me a link (you can create a job ticket also) so we can look.
Customer support service by UserEcho
The /app directory should allow http or https as long as you are calling that from the original code. You would need to ensure that the reference in the code is actually pointing to https however. Protocol-less will also work, but these days we recommend just doing straight secure always, regardless of whether or not your site is secure.
In other words, if your website is asking for an image in the /app directory, it needs to say:
<img src="https://example.com/app/images/image.jpg">
instead of:
<img src="http://example.com/app/images/image.jpg">
If you're doing this already and it isn't working - please let me a link (you can create a job ticket also) so we can look.